blob: f7354ed4dce05241a200af29d6b0afe6814717c5 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200403-11">
<title>Squid ACL [url_regex] bypass vulnerability</title>
Squid versions 2.0 through to 2.5.STABLE4 could allow a remote attacker to
bypass Access Control Lists by sending a specially-crafted URL request
containing '%00': in such circumstances; the url_regex ACL may not properly
detect the malicious URL, allowing the attacker to effectively bypass the
<product type="ebuild">Squid</product>
<announced>March 30, 2004</announced>
<revised>September 02, 2004: 02</revised>
<package name="net-proxy/squid" auto="yes" arch="*">
<unaffected range="ge">2.5.5</unaffected>
<vulnerable range="lt">2.5.5</vulnerable>
Squid is a fully-featured Web Proxy Cache designed to run on Unix systems
that supports proxying and caching of HTTP, FTP, and other URLs, as well as
SSL support, cache hierarchies, transparent caching, access control lists
and many other features.
A bug in Squid allows users to bypass certain access controls by passing a
URL containing &quot;%00&quot; which exploits the Squid decoding function.
This may insert a NUL character into decoded URLs, which may allow users to
bypass url_regex access control lists that are enforced upon them.
In such a scenario, Squid will insert a NUL character after
the&quot;%00&quot; and it will make a comparison between the URL to the end
of the NUL character rather than the contents after it: the comparison does
not result in a match, and the user's request is not denied.
<impact type="normal">
Restricted users may be able to bypass url_regex access control lists that
are enforced upon them which may cause unwanted network traffic as well as
a route for other possible exploits. Users of Squid 2.5STABLE4 and below
who require the url_regex features are recommended to upgrade to 2.5STABLE5
to maintain the security of their infrastructure.
A workaround is not currently known for this issue. All users are advised
to upgrade to the latest version of Squid.
Squid can be updated as follows:
# emerge sync
# emerge -pv ">=net-proxy/squid-2.5.5"
# emerge ">=net-proxy/squid-2.5.5"</code>
<uri link="">CAN-2004-0189</uri>
<uri link="">Squid 2.5.STABLE5 Release Announcement</uri>
<metadata tag="submitter" timestamp="Thu, 2 Sep 2004 21:11:59 +0000">