#VU64536 Permissions, Privileges, and Access Controls in Apache Tomcat - CVE-2012-5885


Vulnerability identifier: #VU64536

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2012-5885

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Apache Tomcat
Server applications / Web servers

Vendor: Apache Foundation

Description

The vulnerability allows a remote attacker to bypass intended access restrictions.

The vulnerability exists due to replay-countermeasure functionality in the HTTP Digest Access Authentication implementation in Apache Tomcat tracks cnonce (aka client nonce) values instead of nonce (aka server nonce) and nc (aka nonce-count) values. A remote attacker can bypass intended access restrictions by sniffing the network for valid requests

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Apache Tomcat: 5.5, 6.0.0 - 6.0.35, 7.0.0 - 7.0.29


External links
https://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html
https://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html
https://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html
https://marc.info/?l=bugtraq&m=136485229118404&w=2
https://marc.info/?l=bugtraq&m=136612293908376&w=2
https://rhn.redhat.com/errata/RHSA-2013-0623.html
https://rhn.redhat.com/errata/RHSA-2013-0629.html
https://rhn.redhat.com/errata/RHSA-2013-0631.html
https://rhn.redhat.com/errata/RHSA-2013-0632.html
https://rhn.redhat.com/errata/RHSA-2013-0633.html
https://rhn.redhat.com/errata/RHSA-2013-0640.html
https://rhn.redhat.com/errata/RHSA-2013-0647.html
https://rhn.redhat.com/errata/RHSA-2013-0648.html
https://rhn.redhat.com/errata/RHSA-2013-0726.html
https://secunia.com/advisories/51371
https://svn.apache.org/viewvc?view=revision&revision=1377807
https://svn.apache.org/viewvc?view=revision&revision=1380829
https://svn.apache.org/viewvc?view=revision&revision=1392248
https://tomcat.apache.org/security-5.html
https://tomcat.apache.org/security-6.html
https://tomcat.apache.org/security-7.html
https://www.securityfocus.com/bid/56403
https://www.ubuntu.com/usn/USN-1637-1
https://www-01.ibm.com/support/docview.wss?uid=swg21626891
https://exchange.xforce.ibmcloud.com/vulnerabilities/80408
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19432


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability