CVE-2022-27140 File upload in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code via crafted files if the application misuses the express-fileupload library's API.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-27140?

CVE-2022-27140 is a critical vulnerability in n/a, published on 12 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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).

Weakness: CWE-434

Which versions are affected by CVE-2022-27140?

It affects 1 product.

Products include Express-Fileupload Project Express-Fileupload.

How do I fix CVE-2022-27140?

No fix has been published for CVE-2022-27140 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-27140 being exploited?

There is no known exploitation of CVE-2022-27140 in the wild and no public exploit code.

Sources

Also known as GHSA-4fvq-q2rx-hw88.

Is CVE-2022-27140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free