CVE-2013-0189
published 2013-02-08CVE-2013-0189: cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption)…
PriorityP334medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
23.03%
97.5th percentile
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
Affected
68 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | squid | < squid 2.7.STABLE9-2 (bookworm) | squid 2.7.STABLE9-2 (bookworm) |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Sending any Basic auth credentials to cachemgr.cgi is sufficient to trigger the vulnerability and crash the CGI application. ↗
- →Attack vectors include invalid Content-Length headers, long POST requests, or crafted authentication credentials sent to cachemgr.cgi. ↗
- →The vulnerability is only exploitable remotely if httpd is running and cachemgr.cgi is accessible; default RHEL config restricts access to localhost.localdomain only. ↗
- ·cachemgr.cgi is only exposed if httpd is installed and running alongside squid; squid does not require httpd, so installations without httpd are not remotely exploitable. ↗
- ·Red Hat Enterprise Linux 5 and 6 ship a version of squid that was not affected because the incomplete CVE-2012-5643 fix was never released for those versions. ↗
- ·CVE-2013-0189 is specifically caused by a reversed POST data size check in the CVE-2012-5643 patch; a separate crash (free of static buffer) reported later is a distinct regression tracked separately and is NOT part of CVE-2013-0189. ↗
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
vendor_ubuntu5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-rrh8-h9v8-p8vr: cachemgr
ghsa_unreviewed·2022-05-05·CVSS 5.0
CVE-2013-0189 [MEDIUM] CWE-119 GHSA-rrh8-h9v8-p8vr: cachemgr
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
OSV
CVE-2013-0189: cachemgr
osv·2013-02-08·CVSS 5.0
CVE-2013-0189 [MEDIUM] CVE-2013-0189: cachemgr
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
Ubuntu
Squid vulnerabilities
vendor_ubuntu·2013-01-31·CVSS 5.0
CVE-2012-5643 [MEDIUM] Squid vulnerabilities
Title: Squid vulnerabilities
Summary: squid-cgi could consume excessive system resources, leading to a denial
of service attack on it and other hosted services.
It was discovered that squid's cachemgr.cgi was vulnerable to excessive
resource use. A remote attacker could exploit this flaw to perform a denial
of service attack on the server and other hosted services. (CVE-2012-5643)
It was discovered that the patch for CVE-2012-5643 was incorrect. A
remote attacker could exploit this flaw to perform a denial of service
attack. (CVE-2013-0189)
Instructions: In general, a standard system update will make all the necessary changes.
Ensure the webserver access controls properly restrict access to cachemgr.cgi.
Red Hat
squid: Incomplete fix for the CVE-2012-5643 issue
vendor_redhat·2013-01-01·CVSS 5.0
CVE-2013-0189 [MEDIUM] squid: Incomplete fix for the CVE-2012-5643 issue
squid: Incomplete fix for the CVE-2012-5643 issue
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
Statement: Not Vulnerable. This issue does not affect the version of squid as shipped with Red Hat Enterprise Linux 5 and 6.
Package: squid (Red Hat Enterprise Linux 5) - Not affected
Package: squid (Red Hat Enterprise Linux 6) - Not affected
Debian
CVE-2013-0189: squid - cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other version...
vendor_debian·2013·CVSS 5.0
CVE-2013-0189 [MEDIUM] CVE-2013-0189: squid - cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other version...
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
Scope: local
bookworm: resolved (fixed in 2.7.STABLE9-2)
bullseye: resolved (fixed in 2.7.STABLE9-2)
forky: resolved (fixed in 2.7.STABLE9-2)
sid: resolved (fixed in 2.7.STABLE9-2)
trixie: resolved (fixed in 2.7.STABLE9-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue [fedora-all]
bugzilla·2013-01-16·CVSS 5.0
CVE-2013-0189 [MEDIUM] CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue [fedora-all]
CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affe
Bugzilla
CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue
bugzilla·2013-01-16·CVSS 5.0
CVE-2013-0189 [MEDIUM] CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue
CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue
Originally, Common Vulnerabilities and Exposures assigned an identifier CVE-2012-5643 (bug #887962) to the following vulnerability:
Multiple memory leaks in tools/cachemgr.cc in cachemgr.cgi in Squid 2.x and 3.x before 3.1.22, 3.2.x before 3.2.4, and 3.3.x before 3.3.0.2 allow remote attackers to cause a denial of service (memory consumption) via (1) invalid Content-Length headers, (2) long POST requests, or (3) crafted authentication credentials.
Later it was found the upstream patch for CVE-2012-5643 issue to be incomplete, resulting in new patchset:
[1] http://bazaar.launchpad.net/~squid/squid/3.2/revision/11743
[2] http://bazaar.launchpad.net/~squid/squid/3.2/revision/11744
The CVE identifier of CVE-2013-0189 has been
Bugzilla
CVE-2012-5643 squid: cachemgr.cgi memory usage DoS and memory leaks
bugzilla·2012-12-17·CVSS 5.0
CVE-2012-5643 [MEDIUM] CVE-2012-5643 squid: cachemgr.cgi memory usage DoS and memory leaks
CVE-2012-5643 squid: cachemgr.cgi memory usage DoS and memory leaks
A denial of service flaw was found in the way the CGI Cache Manager of the Squid proxy caching server processed certain requests. A remote attacker could this this flaw to cause the squid service to consume excessive amount of resources.
References:
[1] http://www.squid-cache.org/Advisories/SQUID-2012_1.txt
[2] https://bugs.gentoo.org/show_bug.cgi?id=447596
[3] https://secunia.com/advisories/51545/
Upstream patches:
[4] http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch
(against the 3.1 branch)
[5] http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patch
(against the 3.2 branch)
Discussion:
This issue affects the versions of the squid package, as shipped with Red Hat Enterpr
http://bazaar.launchpad.net/~squid/squid/3.2/revision/11743http://bazaar.launchpad.net/~squid/squid/3.2/revision/11744http://lists.fedoraproject.org/pipermail/scm-commits/2013-January/934637.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.htmlhttp://lists.opensuse.org/opensuse-updates/2013-09/msg00025.htmlhttp://lists.opensuse.org/opensuse-updates/2013-09/msg00032.htmlhttp://secunia.com/advisories/52024http://secunia.com/advisories/54839http://www.debian.org/security/2013/dsa-2631http://www.mandriva.com/security/advisories?name=MDVSA-2013:129http://www.securityfocus.com/bid/57646http://www.squid-cache.org/Versions/v3/3.1/changesets/SQUID-2012_1.patchhttp://www.squid-cache.org/Versions/v3/3.2/changesets/SQUID-2012_1.patchhttp://www.ubuntu.com/usn/USN-1713-1https://bugzilla.redhat.com/show_bug.cgi?id=887962#c9https://bugzilla.redhat.com/show_bug.cgi?id=895972https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0029http://bazaar.launchpad.net/~squid/squid/3.2/revision/11743http://bazaar.launchpad.net/~squid/squid/3.2/revision/11744http://lists.fedoraproject.org/pipermail/scm-commits/2013-January/934637.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.htmlhttp://lists.opensuse.org/opensuse-updates/2013-09/msg00025.htmlhttp://lists.opensuse.org/opensuse-updates/2013-09/msg00032.htmlhttp://secunia.com/advisories/52024http://secunia.com/advisories/54839http://www.debian.org/security/2013/dsa-2631http://www.mandriva.com/security/advisories?name=MDVSA-2013:129http://www.securityfocus.com/bid/57646http://www.squid-cache.org/Versions/v3/3.1/changesets/SQUID-2012_1.patchhttp://www.squid-cache.org/Versions/v3/3.2/changesets/SQUID-2012_1.patchhttp://www.ubuntu.com/usn/USN-1713-1https://bugzilla.redhat.com/show_bug.cgi?id=887962#c9https://bugzilla.redhat.com/show_bug.cgi?id=895972https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0029
2013-02-08
Published