CVE-2022-25299

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductCesanta Mongoose
PublishedFeb 18, 2022
First seenFeb 18, 2022

How to fix

Update
  • cesanta mongoose7.6 or later

Affected products

ProductAffected versionsFixed in
cesanta mongoosev < 7.67.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-25299 · Cesanta Mongoose · Dark Radar