sarg User-Agent header cross-site scripting
| sarg-useragent-xss (40972) |
Description:
sarg is vulnerable to cross-site scripting, caused by improper validation of user-supplied input. If process support for viewing Squid User-Agent logs is enabled, a remote attacker could exploit this vulnerability using the User-Agent header to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the log is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
*CVSS:
| Base Score: | 4.3 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | None |
| Temporal Score: | 3.7 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of sarg (2.2.4 or later), available from SourceForge.net: Files. See References.
References:
- SourceForge.net: Files: SARG - File Release Notes and Changelog - Release Name: sarg-2.2.4.
- SourceForge.net: Files: sarg - File Release Notes and Changelog - Release Name: sarg-2.2.5.
- SourceForge.net: Files: sarg.
- BID-28077: SARG User-Agent Processing HTML Injection and Stack Buffer Overflow Vulnerabilities
- CVE-2008-1168: 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.
- GLSA-200803-21: Sarg: Remote execution of arbitrary code
- MDVSA-2008:079: Updated sarg packages fix multiple vulnerabilities
- SA28668: Sarg User-Agent Processing Multiple Vulnerabilities
- VUPEN/ADV-2008-0750: Squid Analysis Report Generator Cross Site Scripting Vulnerability
Platforms Affected:
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2007
- MandrakeSoft Mandrake Linux 2007 X86_64
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Multi Network Firewall 2.0
- Sarg Sarg 2.2.3.1
Reported:
Mar 02, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
