Summary
CVE-2022-50997 is a SQL injection vulnerability in Weaver (Fanwei) E-cology, a Chinese enterprise OA/collaboration platform. The flaw resides in the HrmCareerApplyPerView.jsp endpoint and allows an unauthenticated remote attacker to extract arbitrary data from the backend Microsoft SQL Server database. It is rated HIGH severity, and exploitation activity has been observed in the wild.
Technical details
- Root cause: the
idGET parameter passed toHrmCareerApplyPerView.jspis not properly sanitized before being used in a SQL query. - Trigger: an attacker sends a single crafted GET request containing UNION-based SQL injection payloads in the
idparameter. - Attack vector: network, no authentication or user interaction required.
- Impact: unauthorized disclosure of arbitrary data from the backend Microsoft SQL Server database (confidentiality impact only; no integrity or availability impact reported).
- The Shadowserver Foundation reported observing exploitation of this vulnerability starting 2023-10-18 (UTC).
Affected software
- Weaver E-cology 9.0, versions prior to 10.53
- Weaver E-cology 9.0, versions prior to 10.54
- Weaver E-cology 8.0, versions prior to 10.53
- Weaver E-cology 8.0, versions prior to 10.54
Severity
- CVSS v4.0 Base Score: 8.7 (HIGH) —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1 Base Score: 7.5 (HIGH) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: upgrade Weaver E-cology 8.0 or 9.0 to version 10.53 or 10.54, or later, as published by the vendor.
- If patching is not immediately possible: restrict network access to the E-cology application (particularly the HrmCareerApplyPerView.jsp endpoint) to trusted internal networks, and deploy a web application firewall rule to block UNION-based SQL injection patterns in the
idparameter. - Monitor logs for anomalous requests to
HrmCareerApplyPerView.jspand review database access logs for signs of prior data exfiltration.
How IONIX identifies potentially affected assets
IONIX matches the following signal against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
Set-Cookieresponse header:ecology_JSessionid=

