Overview
A critical vulnerability, identified as CVE-2025-3551, has been discovered in Lingxing ERP 2. This vulnerability allows unrestricted file upload due to a flaw in the DoUpload function of the /Api/FileUpload.ashx?method=DoUpload file. If exploited, this vulnerability could potentially compromise systems or lead to data leakage, affecting any organization that uses this software.
Vulnerability Summary
CVE ID: CVE-2025-3551
Severity: Critical (7.3 CVSS score)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: Potential system compromise and data leakage
Affected Products
Product | Affected Versions
Lingxing ERP 2 | All versions
How the Exploit Works
The vulnerability resides in the DoUpload function of the /Api/FileUpload.ashx?method=DoUpload file. An attacker can manipulate the File argument to allow unrestricted upload of files. This can lead to the upload of malicious files, which could potentially allow remote code execution or data leakage.
Conceptual Example Code
Here is a conceptual representation of how the vulnerability might be exploited:
POST /Api/FileUpload.ashx?method=DoUpload HTTP/1.1
Host: target.example.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="malicious_file.exe"
Content-Type: application/octet-stream
<contents of malicious_file.exe>
------WebKitFormBoundary7MA4YWxkTrZu0gW--
This example shows a malicious executable file being uploaded to the server via the vulnerable endpoint. Note that the actual payload would be specific to the attacker’s objectives and the system’s configuration.
Mitigation
As the vendor has not responded to the disclosure of this vulnerability, users are advised to apply a patch from the vendor if and when it becomes available. Until then, employing a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as temporary mitigation against potential attacks exploiting this vulnerability.
