Vulnerability Details : CVE-2022-27140
Potential exploit
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 category: Execute code
Products affected by CVE-2022-27140
- cpe:2.3:a:express-fileupload_project:express-fileupload:1.3.1:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-27140
0.46%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 63 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-27140
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2022-27140
-
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-27140
-
https://www.youtube.com/watch?v=4XpofFi84KI
Before you continue to YouTubeExploit;Third Party Advisory
-
https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644
Unrestricted Upload of File with Dangerous Type · Issue #329 · richardgirges/express-fileupload · GitHubThird Party Advisory
-
https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967
Major security threats · Issue #312 · richardgirges/express-fileupload · GitHubThird Party Advisory
Jump to