CVE-2023-37461: Path traversal in metersphere
Metersphere is an opensource testing framework. Files uploaded to Metersphere may define a belongType value with a relative path like ../../../../ which may cause metersphere to attempt to overwrite an existing file in the defined location or to create a new file. Attackers would be limited to overwriting files that the metersphere process has access to. This issue has been addressed in version 2.10.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
metersphereto a version that resolves this vulnerability.Fixed in 2.10.3
Event History
Frequently Asked Questions
What is CVE-2023-37461?
CVE-2023-37461 is a vulnerability in Metersphere, an open-source testing framework, that allows attackers to overwrite or create files by uploading a file with a malicious `belongType` value.
What is the severity of CVE-2023-37461?
CVE-2023-37461 has a severity rating of 9.8 (Critical).
How does CVE-2023-37461 impact Metersphere?
CVE-2023-37461 allows attackers to attempt to overwrite existing files or create new files in Metersphere using a file upload with a malicious `belongType` value.
Which version of Metersphere is affected by CVE-2023-37461?
Metersphere version up to and excluding 2.10.3 is affected by CVE-2023-37461.
How can I fix CVE-2023-37461?
To fix CVE-2023-37461, it is recommended to update Metersphere to a version higher than 2.10.3.