ID CVE-2013-2051
Summary The Tomcat 6 DIGEST authentication functionality as used in Red Hat Enterprise Linux 6 allows remote attackers to bypass intended access restrictions by performing a replay attack after a nonce becomes stale. NOTE: this issue is due to an incomplete fix for CVE-2012-5887.
References
Vulnerable Configurations
  • Red Hat Enterprise Linux 6.0
    cpe:2.3:o:redhat:enterprise_linux:6.0
CVSS
Base: 2.6 (as of 10-07-2013 - 10:54)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
nessus via4
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-0869.NASL
    description Updated tomcat6 packages that fix two security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Apache Tomcat is a servlet container for the Java Servlet and JavaServer Pages (JSP) technologies. A flaw was found in the way the tomcat6 init script handled the tomcat6-initd.log log file. A malicious web application deployed on Tomcat could use this flaw to perform a symbolic link attack to change the ownership of an arbitrary system file to that of the tomcat user, allowing them to escalate their privileges to root. (CVE-2013-1976) Note: With this update, tomcat6-initd.log has been moved from /var/log/tomcat6/ to the /var/log/ directory. It was found that the RHSA-2013:0623 update did not correctly fix CVE-2012-5887, a weakness in the Tomcat DIGEST authentication implementation. A remote attacker could use this flaw to perform replay attacks in some circumstances. Additionally, this problem also prevented users from being able to authenticate using DIGEST authentication. (CVE-2013-2051) Red Hat would like to thank Simon Fayer of Imperial College London for reporting the CVE-2013-1976 issue. Users of Tomcat are advised to upgrade to these updated packages, which correct these issues. Tomcat must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-12-20
    plugin id 66660
    published 2013-05-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66660
    title RHEL 6 : tomcat6 (RHSA-2013:0869)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2013-0869.NASL
    description From Red Hat Security Advisory 2013:0869 : Updated tomcat6 packages that fix two security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Apache Tomcat is a servlet container for the Java Servlet and JavaServer Pages (JSP) technologies. A flaw was found in the way the tomcat6 init script handled the tomcat6-initd.log log file. A malicious web application deployed on Tomcat could use this flaw to perform a symbolic link attack to change the ownership of an arbitrary system file to that of the tomcat user, allowing them to escalate their privileges to root. (CVE-2013-1976) Note: With this update, tomcat6-initd.log has been moved from /var/log/tomcat6/ to the /var/log/ directory. It was found that the RHSA-2013:0623 update did not correctly fix CVE-2012-5887, a weakness in the Tomcat DIGEST authentication implementation. A remote attacker could use this flaw to perform replay attacks in some circumstances. Additionally, this problem also prevented users from being able to authenticate using DIGEST authentication. (CVE-2013-2051) Red Hat would like to thank Simon Fayer of Imperial College London for reporting the CVE-2013-1976 issue. Users of Tomcat are advised to upgrade to these updated packages, which correct these issues. Tomcat must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68827
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68827
    title Oracle Linux 6 : tomcat6 (ELSA-2013-0869)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20130528_TOMCAT6_ON_SL6_X.NASL
    description A flaw was found in the way the tomcat6 init script handled the tomcat6-initd.log log file. A malicious web application deployed on Tomcat could use this flaw to perform a symbolic link attack to change the ownership of an arbitrary system file to that of the tomcat user, allowing them to escalate their privileges to root. (CVE-2013-1976) Note: With this update, tomcat6-initd.log has been moved from /var/log/tomcat6/ to the /var/log/ directory. It was found that the SLSA-2013:0623 update did not correctly fix CVE-2012-5887, a weakness in the Tomcat DIGEST authentication implementation. A remote attacker could use this flaw to perform replay attacks in some circumstances. Additionally, this problem also prevented users from being able to authenticate using DIGEST authentication. (CVE-2013-2051) Tomcat must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 66665
    published 2013-05-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66665
    title Scientific Linux Security Update : tomcat6 on SL6.x (noarch)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2013-0869.NASL
    description Updated tomcat6 packages that fix two security issues are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Apache Tomcat is a servlet container for the Java Servlet and JavaServer Pages (JSP) technologies. A flaw was found in the way the tomcat6 init script handled the tomcat6-initd.log log file. A malicious web application deployed on Tomcat could use this flaw to perform a symbolic link attack to change the ownership of an arbitrary system file to that of the tomcat user, allowing them to escalate their privileges to root. (CVE-2013-1976) Note: With this update, tomcat6-initd.log has been moved from /var/log/tomcat6/ to the /var/log/ directory. It was found that the RHSA-2013:0623 update did not correctly fix CVE-2012-5887, a weakness in the Tomcat DIGEST authentication implementation. A remote attacker could use this flaw to perform replay attacks in some circumstances. Additionally, this problem also prevented users from being able to authenticate using DIGEST authentication. (CVE-2013-2051) Red Hat would like to thank Simon Fayer of Imperial College London for reporting the CVE-2013-1976 issue. Users of Tomcat are advised to upgrade to these updated packages, which correct these issues. Tomcat must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 66674
    published 2013-05-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66674
    title CentOS 6 : tomcat6 (CESA-2013:0869)
redhat via4
advisories
bugzilla
id 959047
title CVE-2013-2051 tomcat: DIGEST authentication vulnerable to replay attacks
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment tomcat6 is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869005
      • comment tomcat6 is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335006
    • AND
      • comment tomcat6-admin-webapps is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869007
      • comment tomcat6-admin-webapps is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335022
    • AND
      • comment tomcat6-docs-webapp is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869013
      • comment tomcat6-docs-webapp is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335020
    • AND
      • comment tomcat6-el-2.1-api is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869021
      • comment tomcat6-el-2.1-api is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335024
    • AND
      • comment tomcat6-javadoc is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869017
      • comment tomcat6-javadoc is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335012
    • AND
      • comment tomcat6-jsp-2.1-api is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869019
      • comment tomcat6-jsp-2.1-api is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335008
    • AND
      • comment tomcat6-lib is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869011
      • comment tomcat6-lib is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335018
    • AND
      • comment tomcat6-servlet-2.5-api is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869009
      • comment tomcat6-servlet-2.5-api is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335010
    • AND
      • comment tomcat6-webapps is earlier than 0:6.0.24-55.el6_4
        oval oval:com.redhat.rhsa:tst:20130869015
      • comment tomcat6-webapps is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110335014
rhsa
id RHSA-2013:0869
released 2013-05-28
severity Important
title RHSA-2013:0869: tomcat6 security update (Important)
rpms
  • tomcat6-0:6.0.24-55.el6_4
  • tomcat6-admin-webapps-0:6.0.24-55.el6_4
  • tomcat6-docs-webapp-0:6.0.24-55.el6_4
  • tomcat6-el-2.1-api-0:6.0.24-55.el6_4
  • tomcat6-javadoc-0:6.0.24-55.el6_4
  • tomcat6-jsp-2.1-api-0:6.0.24-55.el6_4
  • tomcat6-lib-0:6.0.24-55.el6_4
  • tomcat6-servlet-2.5-api-0:6.0.24-55.el6_4
  • tomcat6-webapps-0:6.0.24-55.el6_4
refmap via4
bid 60187
confirm https://bugzilla.redhat.com/show_bug.cgi?id=959047
Last major update 11-10-2013 - 11:14
Published 09-07-2013 - 13:55
Last modified 22-04-2019 - 13:48
Back to Top