Arbitrary file upload in Express-Fileupload Project
CVE-2022-27140
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.029 · 87.1th percentile
- Published
- 2022-04-12
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.029, 87.1th percentile (last changed ); unchanged over 30 days. About EPSS.
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)