{"id":"CVE-2022-23512","aliases":["CVE-2022-23512"],"related":[],"kind":"vulnerability","state":"published","title":"Metersphere is vulnerable to Path Injection.","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"MeterSphere es una plataforma integral de pruebas continuas de código abierto. Las versiones anteriores a la 2.4.1 son vulnerables a la inyección de ruta en ApiTestCaseService::deleteBodyFiles, que toma una identificación de cadena controlada por el usuario y la pasa a ApiTestCaseService, que usa el valor proporcionado por el usuario (testId) en un nuevo archivo (BODY_FILE_DIR + \"/\" + testId), siendo eliminado posteriormente por file.delete(). Al agregar algunos parámetros de camuflaje a la URL, un atacante puede apuntar a archivos en el servidor. La vulnerabilidad se ha solucionado en v2.4.1.","source":"nvd"}],"published":"2022-12-14T13:09:36.800Z","modified":"2026-06-17T04:30:16.373Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 2.4.1","status":"affected"}],"vendor":"metersphere","product":"metersphere","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.4.1"}],"vendor":"metersphere","product":"metersphere","cpe":"cpe:2.3:a:metersphere:metersphere:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/metersphere/metersphere/security/advisories/GHSA-5mwp-xw7p-5j27","tags":["exploit","patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-21T19:20:22.193Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-23512","url":"https://www.cve.org/CVERecord?id=CVE-2022-23512","licence":"CVE Terms of Use","modified":"2025-04-21T19:20:37.099Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-23512","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23512","licence":"Public domain","modified":"2026-06-17T04:30:16.373Z"}],"updatedAt":"2026-11-25T22:58:17.524Z","epss":{"score":0.00884,"percentile":0.6028,"date":"2026-12-01T12:00:22.000Z"}}