CVE-2022-27140 Details
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).
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967 | CVE | Third Party Advisory |
| https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644 | CVE | Third Party Advisory |
| https://www.youtube.com/watch?v=4XpofFi84KI | CVE | ExploitThird Party Advisory |
| https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967 | [email protected] | Third Party Advisory |
| https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644 | [email protected] | Third Party Advisory |
| https://www.youtube.com/watch?v=4XpofFi84KI | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| express-fileupload project express-fileupload | 1.3.1 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 3, 2024 | CVE Modified | [email protected] |
| May 17, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 11, 2024 | CVE Modified | [email protected] |
| Mar 21, 2024 | CVE Modified | [email protected] |
| Dec 15, 2023 | Modified Analysis | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Jun 21, 2023 | CVE Modified | [email protected] |
| Apr 19, 2022 | Initial Analysis | [email protected] |