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

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via the User-Agent header in Sarg, potentially compromising users viewing Squid proxy logs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2008-1168?

CVE-2008-1168 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Mar 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cross-site scripting (XSS) vulnerability in Squid Analysis Report Generator (Sarg) 2.2.3.1 allows remote attackers to inject arbitrary web script or HTML via the User-Agent header, which is not properly handled when displaying the Squid proxy log. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.

Weakness: CWE-79

Which versions are affected by CVE-2008-1168?

It affects 1 product.

Products include Sarg Squid Analysis Report Generator.

How do I fix CVE-2008-1168?

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-1168 being exploited?

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

Sources

Also known as DEBIAN-CVE-2008-1168, GHSA-fmf2-57c4-3g8w.

Is CVE-2008-1168 in your software?

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

Check your SBOMs for free