Lucene search

K
gentooGentoo FoundationGLSA-200803-21
HistoryMar 12, 2008 - 12:00 a.m.

Sarg: Remote execution of arbitrary code

2008-03-1200:00:00
Gentoo Foundation
security.gentoo.org
9

0.446 Medium

EPSS

Percentile

97.4%

Background

Sarg (Squid Analysis Report Generator) is a tool that provides many informations about the Squid web proxy server users activities: time, sites, traffic, etc.

Description

Sarg doesn’t properly check its input for abnormal content when processing Squid log files.

Impact

A remote attacker using a vulnerable Squid as a proxy server or a reverse-proxy server can inject arbitrary content into the “User-Agent” HTTP client header, that will be processed by sarg, which will lead to the execution of arbitrary code, or JavaScript injection, allowing Cross-Site Scripting attacks and the theft of credentials.

Workaround

There is no known workaround at this time.

Resolution

All sarg users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-analyzer/sarg-2.2.5"
OSVersionArchitecturePackageVersionFilename
Gentooanyallnet-analyzer/sarg< 2.2.5UNKNOWN

0.446 Medium

EPSS

Percentile

97.4%