CVE-2022-23512
Last modified
CVE-2022-23512 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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(). EPSS estimates a 0.83% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Metersphere | Metersphere | < 2.4.1 |
References
- https://github.com/metersphere/metersphere/security/advisories/GHSA-5mwp-xw7p-5j27Exploit, Patch, Third Party Advisory
- https://github.com/metersphere/metersphere/security/advisories/GHSA-5mwp-xw7p-5j27Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-23512?
How severe is CVE-2022-23512?
How do I fix CVE-2022-23512?
Are you affected by CVE-2022-23512?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
