CVE-2009-4491

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…

Critical · published January 13, 2010

CVSS v3.1
9.8
EPSS
14%
Percentile
96.5
In the wild
Unconfirmed
What it is

🚨 A crafty log-writing quirk in thttpd 2.25b0 could let attackers pull off some sneaky tricks with just an unfiltered HTTP request! 🔥 Think of it like a restaurant kitchen that keeps track of orders on a chalkboard. If someone can slip in a message without the staff checking it, they might change the entire order — or worse, confuse the kitchen into preparing something dangerous! This vulnerability allows a remote attacker to modify window titles and potentially execute arbitrary commands or overwrite files. Imagine an intruder not just changing what’s on the menu, but also altering what’s being served — a recipe for chaos!

Put simply

Think of it like a restaurant kitchen that keeps track of orders on a chalkboard. If someone can slip in a message without the staff checking it, they might change the entire order — or worse, confuse the kitchen into preparing something dangerous! The flaw arises because thttpd 2.25b0 writes data to a log file without sanitizing non-printable characters, making it susceptible to command injection via HTTP requests that include specific escape sequences.

What to do

This vulnerability allows a remote attacker to modify window titles and potentially execute arbitrary commands or overwrite files. Imagine an intruder not just changing what’s on the menu, but also altering what’s being served — a recipe for chaos! To secure your systems, immediately upgrade thttpd to version 2.25b1 or later. Additionally, review your logging mechanisms to ensure they properly sanitize all input to avoid similar issues in the future. You've got this! By taking these steps, you’ll keep your servers safe from potential hijinks. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.13718 · 96.5th percentile
Published
2010-01-13T00:00Z
EPSS history
Timeline
  • 13 JAN 00:00Z
    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…
    cvelistv5