Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA28668

Sarg User-Agent Processing Multiple Vulnerabilities
Secunia Advisory SA28668
Secunia VIM 4.0 - Free Trial
Release Date 2008-03-03
Last Update 2010-01-05
   
Popularity 10,596 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Cross Site Scripting
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Software:
Sarg 2.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2008-1167 CVSS score available to Secunia VIM customers
CVE-2008-1168 CVSS score available to Secunia VIM customers
CVE-2008-7250 CVSS score available to Secunia VIM customers
  

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
Further details available to Secunia VIM customers

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

Deep Links
Links available to Secunia VIM customers


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Sarg User-Agent Processing Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability