Skip to content
OpenAdvisories
Unscored Public exploit CVE-2004-0541 EUVD-2004-0540GHSA-c92g-qcfc-4869

Buffer overflow in the ntlm_check_auth (NTLM authentication) function for Squid Web Proxy Cache 2.5.x and 3.x, when compiled with NTLM hand…

Published Jun 10, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

Buffer overflow in the ntlm_check_auth (NTLM authentication) function for Squid Web Proxy Cache 2.5.x and 3.x, when compiled with NTLM handlers enabled, allows remote attackers to execute arbitrary code via a long password ("pass" variable).

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-5 —
Debian 13 squid 2.5.5-5 —
Debian 12 squid 2.5.5-5 —
ReleasePackageFixed inAdvisory
RHEL 3 squid 7:2.5.STABLE3-6.3E RHSA-2004:242

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.

Metasploit 1 module

Exploit-DB 2

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

Advisories 1

References