Metersphere is vulnerable to Path Injection.
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
MeterSphere is a one-stop open source continuous testing platform. Versions prior to 2.4.1 are vulnerable to Path Injection in ApiTestCaseService::deleteBodyFiles which takes a user-controlled string id and passes it to ApiTestCaseService, which uses the user-provided value (testId) in new File(BODY_FILE_DIR + "/" + testId), being deleted later by file.delete(). By adding some camouflage parameters to the url, an attacker can target files on the server. The vulnerability has been fixed in v2.4.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| metersphere | metersphere | before 2.4.1 | 2.4.1 | Patch available | CNA |
- metersphere Vendormetersphere Affected before 2.4.1 Fixed in 2.4.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:metersphere:metersphere:*:*:*:*:*:*:*:* | before 2.4.1 | Vulnerable | metersphere |
- cpe:2.3:a:metersphere:metersphere:*:*:*:*:*:*:*:* Versions before 2.4.1 Vulnerable ·metersphere
Remediation
- Fix · CNA metersphere (metersphere) Fixed in 2.4.1
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23512
References
More Metersphere vulnerabilities
- TI-2023-19070 Path traversal in metersphere CVSS 3.1CRITICAL 9.8
- TI-2023-10876 Improper access control to download file in metersphere CVSS 3.1HIGH 8.6
- TI-2023-17998 Metersphere missing permission check CVSS 3.1HIGH 8.8
- TI-2022-22822 Path Traversal In MeterSpere allows file upload to any path CVSS 3.1HIGH 8.8
- TI-2022-07599 Server-Side Request Forgery in Metersphere leads to Cross-Site Scripting CVSS 3.1HIGH 7.2
- TI-2023-19874 The cloud version of the MeterSphere interface leaks some sensitive data without authentication CVSS 3.1HIGH 7.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences