Skip to content
OpenAdvisories
Unscored Public exploit CVE-2004-0189 EUVD-2004-0189GHSA-wgp5-p97p-cph9

The "%xx" URL decoding function in Squid 2.5STABLE4 and earlier allows remote attackers to bypass url_regex ACLs via a URL with a NULL ("%0…

Published Sep 1, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

The "%xx" URL decoding function in Squid 2.5STABLE4 and earlier allows remote attackers to bypass url_regex ACLs via a URL with a NULL ("%00") character, which causes Squid to use only a portion of the requested URL when comparing it against the access control lists.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 squid 2.5.5-1 —
Debian 13 squid 2.5.5-1 —
Debian 12 squid 2.5.5-1 —
Debian 3.0 squid 2.4.6-2woody2 DSA-474
ReleasePackageFixed inAdvisory
RHEL 3 squid 7:2.5.STABLE3-5.3E RHSA-2004:133

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References