SQL Injection and Arbitrary File Read in Weaver E-cology SignatureDownLoad
Weaver (Fanwei) E-cology 8.0 contains a SQL injection vulnerability in the SignatureDownLoad servlet. The servlet concatenates the markId GET parameter into a SQL query without sanitization. An unauthenticated remote attacker can inject a UNION SELECT payload to control the returned markPath value, causing the servlet to read and stream back an attacker-selected file accessible to the application server process. Exposed files can include sensitive configuration files containing database credentials. Exploitation evidence was first observed by the Shadowserver Foundation on October 18, 2023.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation exposes arbitrary files readable by the application server process, including sensitive configuration files and database credentials. The filesystem permissions of that process constrain which files can be disclosed.
If you can’t patch tonight, do this now.
Until a patched release is confirmed and deployed, restrict external access to the affected servlet and limit the application server process's filesystem permissions. Where code changes are feasible, parameterize the vulnerable SQL query and validate the affected input. No specific vendor workaround is identified.
Patch, then assume compromise.
Obtain and deploy a vendor-provided patched release of Weaver E-cology, and verify that the SignatureDownLoad servlet no longer permits SQL injection or attacker-controlled file retrieval. The issue has reportedly been remediated, but the exact fixed version is not specified.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.