Arbitrary file upload in Express-Fileupload Project
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. 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).
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.029 (86.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000
Affected products
- Express-Fileupload Project — versions 1.3.1
Weakness classification (CWE)
References
- www.youtube.com/watch (Exploit, Third Party Advisory)
- github.com/richardgirges/express-fileupload/issues/329 (Third Party Advisory)
- github.com/richardgirges/express-fileupload/issues/312 (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-27140?
- CVE-2022-27140 is a critical-severity vulnerability in Express-Fileupload Project, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2022-04-12.
- How severe is CVE-2022-27140?
- Critical severity. CVSS v3 base score is 9.8 out of 10.