CVE-2021-42342 File upload in n/a

Critical 9.8 Published Updated

Attackers can tunnel untrusted environment variables into CGI scripts via the file upload filter, potentially leading to code execution.

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-2021-42342?

CVE-2021-42342 is a critical vulnerability in n/a, published on 14 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in GoAhead 4.x and 5.x before 5.1.5. In the file upload filter, user form variables can be passed to CGI scripts without being prefixed with the CGI prefix. This permits tunneling untrusted environment variables into vulnerable CGI scripts.

Weakness: CWE-434

Which versions are affected by CVE-2021-42342?

It affects 1 product.

Products include Embedthis Goahead.

How do I fix CVE-2021-42342?

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

Is CVE-2021-42342 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-xrrx-hrm6-mxr7.

Is CVE-2021-42342 in your software?

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

Check your SBOMs for free