Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Mailing Lists RSS Blog New entry Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)
  - NEW -

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Sarg User-Agent Processing Multiple Vulnerabilities

Secunia Advisory: SA28668  
Release Date: 2008-03-03
Last Update: 2008-05-12

Critical:
Highly critical
Impact: Cross Site Scripting
System access
Where: From remote
Solution Status: Vendor Patch

Software:Sarg 2.x

CVE reference:CVE-2008-1167 (Secunia mirror)
CVE-2008-1168 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
L4teral has discovered some vulnerabilities in Sarg, which can be exploited by malicious people to conduct script insertion attacks or to compromise a vulnerable system.

1) A boundary error exists within the "useragent()" function in useragent.c. This can be exploited to cause a stack-based buffer overflow via an overly long User-Agent header sent to a Squid proxy server.

Successful exploitation allows execution of arbitrary code.

2) Input passed via the User-Agent header to a Squid proxy server is not properly sanitised before being used to generate HTML reports. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious logs are viewed.

Successful exploitation of the vulnerabilities requires that processing support for Squid User-Agent logs is enabled.

The vulnerabilities are confirmed in version 2.2.3.1. Other versions may also be affected.

Solution:
Update to version 2.2.5.

Provided and/or discovered by:
L4teral

Changelog:
2008-03-11: Added CVE reference.
2008-05-12: Updated "Solution" section. Added additional link.

Original Advisory:
Sarg:
http://sourceforge.net/project/shownotes.php?release_id=581212
http://sourceforge.net/project/shownotes.php?release_id=581509



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

1 Related Secunia Security Advisories

1. Sarg Multiple Unspecified Buffer Overflows


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Debian OpenSSL Predictable Random Number Generator and Update
2.
Microsoft Word Two Code Execution Vulnerabilities
3.
Microsoft Malware Protection Engine File Parsing Denial of Service
4.
Microsoft Publisher Object Handler Validation Vulnerability
5.
Microsoft Windows XP I2O Utility Filter Driver Privilege Escalation
6.
Ubuntu update for openssl
7.
Citrix Access Gateway Unspecified Authentication Bypass
8.
Novell Client Login Long Username/Contex t Buffer Overflow
9.
cPanel Cross-Site Scripting and Request Forgery Vulnerabilities
10.
Internet Explorer "DisableCaching OfSSLPages" Weakness





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia