CVE-2008-7250 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 leading to code execution or security bypass.

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-7250?

CVE-2008-7250 is a medium-severity cross-site scripting vulnerability in n/a, published on 30 Dec 2009. 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.4 allows remote attackers to inject arbitrary web script or HTML via a JavaScript onload event in the User-Agent header, which is not properly handled when displaying the Squid proxy log. NOTE: this issue exists because of an incomplete fix for CVE-2008-1168.

Weakness: CWE-79

Which versions are affected by CVE-2008-7250?

It affects 1 product.

Products include Pedro Lineu Orso Sarg.

How do I fix CVE-2008-7250?

Apply the vendor's patch.

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

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

Sources

Also known as DEBIAN-CVE-2008-7250, GHSA-2jm6-v38h-g4f5.

Is CVE-2008-7250 in your software?

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

Check your SBOMs for free