CVE-2022-23512 Metersphere is vulnerable to Path Injection.
HighCVSS 8.1
EPSS 0.88%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| metersphere | < 2.4.1; = < 2.4.1 | 2.4.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| metersphere | = < 2.4.1 | No fix listed |
| metersphere | < 2.4.1 | 2.4.1 |
References
- https://github.com/metersphere/metersphere/security/advisories/GHSA-5mwp-xw7p-5j27 exploit patch third-party-advisory