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.
References
Link | Resource |
---|---|
https://github.com/metersphere/metersphere/security/advisories/GHSA-5mwp-xw7p-5j27 | Exploit Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: GitHub_M
Published: 2022-12-14T13:09:36.800Z
Updated:
Reserved: 2022-01-19T21:23:53.776Z
Link: CVE-2022-23512
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-12-14T14:15:10.370
Modified: 2022-12-16T19:34:25.763
Link: CVE-2022-23512
JSON object: View
Redhat Information
No data.
CWE