← Back to CVEs
CVE-2022-25299
CRITICAL9.8
Description
This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target folder.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/18/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
cesanta:mongoose
Weaknesses (CWE)
CWE-552
References
https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180(report@snyk.io)
https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945(af854a3a-2127-422b-91ae-364da2661108)
https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.