CVE-2009-4491 Code injection in n/a

Critical 9.8 Published Updated

Remote attackers can inject terminal escape sequences into logs, potentially executing arbitrary commands or modifying files via crafted HTTP 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-2009-4491?

CVE-2009-4491 is a critical code injection vulnerability in n/a, published on 13 Jan 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

thttpd 2.25b0 writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator.

Weakness: CWE-20, CWE-94

Which versions are affected by CVE-2009-4491?

It affects 1 product.

Products include Acme Thttpd.

How do I fix CVE-2009-4491?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2009-4491 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-4491 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-hpcm-8c4f-v6x2.

Is CVE-2009-4491 in your software?

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

Check your SBOMs for free