CVE-2019-5096 Use after free in EmbedThis

Critical 9.8 Published Updated

Unauthenticated attackers can achieve remote code execution via a use-after-free vulnerability in the GoAhead web server's handling of multi-part/form-data requests.

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-2019-5096?

CVE-2019-5096 is a critical use after free vulnerability in EmbedThis, published on 3 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An exploitable code execution vulnerability exists in the processing of multi-part/form-data requests within the base GoAhead web server application in versions v5.0.1, v.4.1.1 and v3.6.5. A specially crafted HTTP request can lead to a use-after-free condition during the processing of this request that can be used to corrupt heap structures that could lead to full code execution. The request can be unauthenticated in the form of GET or POST requests, and does not require the requested resource to exist on the server.

Weakness: CWE-416

Which versions are affected by CVE-2019-5096?

It affects 1 product.

Products include Embedthis Goahead.

How do I fix CVE-2019-5096?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2019-5096 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-xcxv-6fr5-34fm.

Is CVE-2019-5096 in your software?

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

Check your SBOMs for free