{"schemaVersion":3,"id":"CVE-2004-0541","aliases":["RHSA-2004:242","DEBIAN-CVE-2004-0541"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2004-06-10T04:00:00.000Z","modified":"2024-08-08T00:24:25.687Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.7107,"percentile":0.99403,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.7107},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.7107,"percentile":0.99403}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.7107,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.7107,"percentile":0.99403}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"16847","name":"Squid - NTLM (Authenticated) Overflow (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/16847","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"linux","file":"exploits/linux/remote/16847.rb","codes":["CVE-2004-0541","OSVDB-6791"]},"metasploit":null},{"id":"9951","name":"Squid 2.5.x/3.x - NTLM Buffer Overflow (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/9951","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"multiple","file":"exploits/multiple/remote/9951.rb","codes":["CVE-2004-0541","OSVDB-6791"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_PROXY_SQUID_NTLM_AUTHENTICATE","name":"Squid NTLM Authenticate Overflow","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/proxy/squid_ntlm_authenticate.rb","maturity":"weaponized","reliabilityScore":0.8333333333333334,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/proxy/squid_ntlm_authenticate","rank":"500","rankName":"great","postAuth":false,"check":false,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":3,"weaknesses":[],"affected":[{"vendor":"debian","product":"squid","name":"squid","label":"squid","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/squid","purlType":"deb","versions":[{"text":"< 2.5.5-5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.5-5","eol":null,"hubHref":null},{"vendor":"national_science_foundation","product":"squid_web_proxy_cache","name":"squid web proxy cache","label":"squid_web_proxy_cache","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.5_stable","noFixRecorded":false,"fixedIn":null},{"text":"3_pre","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.5_stable | 3_pre","eol":null,"hubHref":"/vendor/national_science_foundation/squid_web_proxy_cache"},{"vendor":"redhat","product":"squid","name":"squid","label":"squid","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/squid","purlType":"rpm","versions":[{"text":"< 7:2.5.STABLE3-6.3E","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:2.5.STABLE3-6.3E","eol":null,"hubHref":null},{"vendor":"redhat","product":"squid-debuginfo","name":"squid-debuginfo","label":"squid-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/squid-debuginfo","purlType":"rpm","versions":[{"text":"< 7:2.5.STABLE3-6.3E","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:2.5.STABLE3-6.3E","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10722","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10722","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-242.html","label":"www.redhat.com/support/errata/RHSA-2004-242.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Patch"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200406-13.xml","label":"www.gentoo.org/security/en/glsa/glsa-200406-13.xml","hostname":"www.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Patch"]},{"url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:059","label":"www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:059","hostname":"www.mandrakesecure.net","tags":["Vendor Advisory","X Refsource MANDRAKE"]},{"url":"http://fedoranews.org/updates/FEDORA--.shtml","label":"fedoranews.org/updates/FEDORA--.shtml","hostname":"fedoranews.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://www.idefense.com/application/poi/display?id=107&type=vulnerabilities","label":"www.idefense.com/application/poi/display?id=107&type=vulnerabilities","hostname":"www.idefense.com","tags":["X Refsource MISC","Patch","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16360","label":"exchange.xforce.ibmcloud.com/vulnerabilities/16360","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"http://www.securityfocus.com/bid/10500","label":"www.securityfocus.com/bid/10500","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://www.trustix.net/errata/2004/0033/","label":"www.trustix.net/errata/2004/0033/","hostname":"www.trustix.net","tags":["Vendor Advisory","X Refsource TRUSTIX"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A980","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A980","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"https://access.redhat.com/errata/RHSA-2004:242","label":"access.redhat.com/errata/RHSA-2004:242","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"http://www.idefense.com/application/poi/display?id=107","label":"www.idefense.com/application/poi/display?id=107","hostname":"www.idefense.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=125507","label":"bugzilla.redhat.com/show_bug.cgi?id=125507","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_242.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_242.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0541","label":"access.redhat.com/security/cve/CVE-2004-0541","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617226","label":"bugzilla.redhat.com/show_bug.cgi?id=1617226","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0541","label":"www.cve.org/CVERecord?id=CVE-2004-0541","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0541","label":"nvd.nist.gov/vuln/detail/CVE-2004-0541","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0541","label":"security-tracker.debian.org/tracker/CVE-2004-0541","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2004-06-10T04:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T00:24:25.687Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T11:50:08.848Z","stale":false,"partial":false}}