CVEvulnerability
CVE-2022-27140
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-04-12
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-434
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).
Affected configurations
• express-fileupload project express-fileupload 1.3.1
Related
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness
References
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967 Third Party Advisory
- https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644 Third Party Advisory
- https://www.youtube.com/watch?v=4XpofFi84KI Exploit, Third Party Advisory
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967 Third Party Advisory
- https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644 Third Party Advisory
- https://www.youtube.com/watch?v=4XpofFi84KI Exploit, Third Party Advisory