CVE-2008-2939 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via FTP URI wildcards in Apache's mod_proxy_ftp module, requiring user interaction to execute.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2008-2939?

CVE-2008-2939 is a medium-severity cross-site scripting vulnerability in Apache Http Server, published on 6 Aug 2008. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in proxy_ftp.c in the mod_proxy_ftp module in Apache 2.0.63 and earlier, and mod_proxy_ftp.c in the mod_proxy_ftp module in Apache 2.2.9 and earlier 2.2 versions, allows remote attackers to inject arbitrary web script or HTML via a wildcard in the last directory component in the pathname in an FTP URI.

Weakness: CWE-79

Which versions are affected by CVE-2008-2939?

It affects 4 products.

Products include Apache Http Server, Apple Mac Os X, Canonical Ubuntu Linux, Opensuse Opensuse.

How do I fix CVE-2008-2939?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2008-2939 being exploited?

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

All Apache Http Server vulnerabilities

Sources

Also known as DEBIAN-CVE-2008-2939, GHSA-26m2-7wh6-pcq6.

Is CVE-2008-2939 in your software?

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

Check your SBOMs for free