Summary
CVE-2016-20097 is a SQL injection vulnerability in the SignatureDownLoad servlet of Weaver (Fanwei) E-cology 8.0. An unauthenticated attacker can inject a UNION SELECT payload into the markId GET parameter to manipulate the query’s markPath return value, causing the server to read and return arbitrary files. The flaw has a HIGH severity rating and, per Shadowserver Foundation reporting, has been observed exploited in the wild since October 2023 despite its 2016 disclosure date.
Technical details
- Root cause: The
markIdparameter is concatenated directly into a backend SQL query without sanitization or parameterization. - Trigger condition: An attacker sends a crafted GET request to the
SignatureDownLoadservlet with a UNION-based SQL injection payload inmarkId. - Attack vector: Network-based, requiring no authentication and no user interaction.
- Impact: The injected query controls the
markPathvalue used by the servlet to locate a file, allowing arbitrary file read on the application server — including configuration files that may contain database credentials.
Affected software
- Weaver (Fanwei) E-cology, version 8.0
Severity
- 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 - CVSS v4.0 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
Mitigation and recommended actions
- Immediate: Apply the vendor’s security patch via Weaver’s official security download page and update to the latest available E-cology build; the exact version that resolved this issue is not publicly documented, so confirm remediation directly with the vendor or via the vendor’s patch/changelog page.
- If patching is not immediately possible: Restrict network access to the E-cology application to trusted internal networks only, place a web application firewall in front of the servlet to block UNION-based SQL injection patterns targeting the
markIdparameter, and monitor for requests to theSignatureDownLoadendpoint. - Given confirmed in-the-wild exploitation, treat internet-exposed instances as high priority for patching or network isolation.

