CVE-2022-27140
An arbitrary file upload vulnerability in the file upload module of express-fileupload 1.3.1 allows attackers to execute arbitrary code via a crafted PHP file.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.86%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
An arbitrary file upload vulnerability in the file upload module of express-fileupload 1.3.1 allows attackers to execute arbitrary code via a crafted PHP file. NOTE: the vendor's position is that the observed behavior can only occur with "intentional misusing of the API": the express-fileupload middleware is not responsible for an application's business logic (e.g., determining whether or how a file should be renamed).
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.86% probability · 86th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-434
- Affected
- express-fileupload project/express-fileupload
- Source
- cve@mitre.org
References
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967Third Party Advisory
- https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644Third Party Advisory
- https://www.youtube.com/watch?v=4XpofFi84KIExploit, Third Party Advisory
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967Third Party Advisory
- https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644Third Party Advisory
- https://www.youtube.com/watch?v=4XpofFi84KIExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.