Summary
CVE-2022-4995 is an unrestricted file upload vulnerability (CWE-434) in Weaver E-cology that allows a remote, unauthenticated attacker to upload arbitrary files, including JSP webshells, leading to remote code execution. It affects Weaver E-cology 9.0 in versions prior to 10.52 and is rated critical.
Technical details
- Root cause: The
/workrelate/plan/util/uploaderOperate.jspendpoint lacks proper authentication and file-type validation, permitting arbitrary file submissions. - Trigger conditions: An attacker sends a
multipart/form-dataPOST request to the vulnerable endpoint with arbitrarysecIdandplandetailidvalues to upload a file. - Attack vector: Network — remote and unauthenticated; no user interaction required.
- Impact: Upload of JSP webshells resulting in arbitrary code execution under the privileges of the application server, giving full compromise of confidentiality, integrity, and availability.
Affected software
- Weaver E-cology 9.0, all versions prior to 10.52.
Severity
- CVSS v3.1 base score: 9.8 (Critical) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v4.0 base score: 9.3 (Critical) —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: Upgrade Weaver E-cology to version 10.52 or later and apply the vendor’s security patches from the Weaver security download portal.
- If no patch: Restrict internet access to the affected application, block or filter requests to
/workrelate/plan/util/uploaderOperate.jspat a WAF or reverse proxy, and monitor the upload directories for newly created JSP files.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
set-cookieresponse header:ecology_JSessionid=

