ID CVE-2012-0698
Summary tcsd in TrouSerS before 0.3.10 allows remote attackers to cause a denial of service (daemon crash) via a crafted type_offset value in a TCP packet to port 30003.
References
Vulnerable Configurations
  • Debian TrouSerS 0.3.9
    cpe:2.3:a:debian:trousers:0.3.9
  • Debian TrouSerS 0.3.8
    cpe:2.3:a:debian:trousers:0.3.8
  • Debian TrouSerS 0.3.7
    cpe:2.3:a:debian:trousers:0.3.7
  • Debian TrouSerS 0.3.6
    cpe:2.3:a:debian:trousers:0.3.6
  • Debian TrouSerS 0.3.5
    cpe:2.3:a:debian:trousers:0.3.5
  • Debian TrouSerS 0.3.4
    cpe:2.3:a:debian:trousers:0.3.4
  • Debian TrouSerS 0.3.3
    cpe:2.3:a:debian:trousers:0.3.3
  • Debian TrouSerS 0.3.2
    cpe:2.3:a:debian:trousers:0.3.2
  • Debian TrouSerS 0.3.1
    cpe:2.3:a:debian:trousers:0.3.1
  • Debian TrouSerS 0.3.0
    cpe:2.3:a:debian:trousers:0.3.0
  • Debian TrouSerS 0.2.9.2
    cpe:2.3:a:debian:trousers:0.2.9.2
  • Debian TrouSerS 0.2.9.1
    cpe:2.3:a:debian:trousers:0.2.9.1
  • Debian TrouSerS 0.2.9
    cpe:2.3:a:debian:trousers:0.2.9
  • Debian TrouSerS 0.2.8
    cpe:2.3:a:debian:trousers:0.2.8
CVSS
Base: 5.0 (as of 26-11-2012 - 14:10)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
exploit-db via4
description TrouSerS Denial of Service Vulnerability. CVE-2012-0698 . Dos exploit for linux platform
file exploits/linux/dos/22904.py
id EDB-ID:22904
last seen 2016-02-02
modified 2012-11-23
platform linux
port
published 2012-11-23
reporter Andy Lutomirski
source https://www.exploit-db.com/download/22904/
title TrouSerS Denial of Service Vulnerability
type dos
nessus via4
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2014-1507.NASL
    description From Red Hat Security Advisory 2014:1507 : Updated trousers packages that fix one security issue, several bugs, and add various enhancements are now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having Low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. TrouSerS is an implementation of the Trusted Computing Group's Software Stack (TSS) specification. You can use TrouSerS to write applications that make use of your TPM hardware. TPM hardware can create, store and use RSA keys securely (without ever being exposed in memory), verify a platform's software state using cryptographic hashes and more. A flaw was found in the way tcsd, the daemon that manages Trusted Computing resources, processed incoming TCP packets. A remote attacker could send a specially crafted TCP packet that, when processed by tcsd, could cause the daemon to crash. Note that by default tcsd accepts requests on localhost only. (CVE-2012-0698) Red Hat would like to thank Andrew Lutomirski for reporting this issue. The trousers package has been upgraded to upstream version 0.3.13, which provides a number of bug fixes and enhancements over the previous version, including corrected internal symbol names to avoid collisions with other applications, fixed memory leaks, added IPv6 support, fixed buffer handling in tcsd, as well as changed the license to BSD. (BZ#633584, BZ#1074634) All trousers users are advised to upgrade to these updated packages, which correct these issues and add these enhancements.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 78525
    published 2014-10-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78525
    title Oracle Linux 6 : trousers (ELSA-2014-1507)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2576.NASL
    description Andy Lutomirski discovered that tcsd (the TPM userspace daemon) was missing input validation. Using carefully crafted input, it can lead to a denial of service by making the daemon crash with a segmentation fault.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 63028
    published 2012-11-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=63028
    title Debian DSA-2576-1 : trousers - denial of service
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-12973.NASL
    description This update closes a small security issue where a remote user could crash tscd if it were enabled for networking. This update also has improved init scripts which should make it load quicker. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-20
    plugin id 62020
    published 2012-09-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62020
    title Fedora 17 : trousers-0.3.9-1.fc17 (2012-12973)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2014-1507.NASL
    description Updated trousers packages that fix one security issue, several bugs, and add various enhancements are now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having Low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. TrouSerS is an implementation of the Trusted Computing Group's Software Stack (TSS) specification. You can use TrouSerS to write applications that make use of your TPM hardware. TPM hardware can create, store and use RSA keys securely (without ever being exposed in memory), verify a platform's software state using cryptographic hashes and more. A flaw was found in the way tcsd, the daemon that manages Trusted Computing resources, processed incoming TCP packets. A remote attacker could send a specially crafted TCP packet that, when processed by tcsd, could cause the daemon to crash. Note that by default tcsd accepts requests on localhost only. (CVE-2012-0698) Red Hat would like to thank Andrew Lutomirski for reporting this issue. The trousers package has been upgraded to upstream version 0.3.13, which provides a number of bug fixes and enhancements over the previous version, including corrected internal symbol names to avoid collisions with other applications, fixed memory leaks, added IPv6 support, fixed buffer handling in tcsd, as well as changed the license to BSD. (BZ#633584, BZ#1074634) All trousers users are advised to upgrade to these updated packages, which correct these issues and add these enhancements.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 78412
    published 2014-10-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78412
    title RHEL 6 : trousers (RHSA-2014:1507)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2014-1507.NASL
    description Updated trousers packages that fix one security issue, several bugs, and add various enhancements are now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having Low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. TrouSerS is an implementation of the Trusted Computing Group's Software Stack (TSS) specification. You can use TrouSerS to write applications that make use of your TPM hardware. TPM hardware can create, store and use RSA keys securely (without ever being exposed in memory), verify a platform's software state using cryptographic hashes and more. A flaw was found in the way tcsd, the daemon that manages Trusted Computing resources, processed incoming TCP packets. A remote attacker could send a specially crafted TCP packet that, when processed by tcsd, could cause the daemon to crash. Note that by default tcsd accepts requests on localhost only. (CVE-2012-0698) Red Hat would like to thank Andrew Lutomirski for reporting this issue. The trousers package has been upgraded to upstream version 0.3.13, which provides a number of bug fixes and enhancements over the previous version, including corrected internal symbol names to avoid collisions with other applications, fixed memory leaks, added IPv6 support, fixed buffer handling in tcsd, as well as changed the license to BSD. (BZ#633584, BZ#1074634) All trousers users are advised to upgrade to these updated packages, which correct these issues and add these enhancements.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 79183
    published 2014-11-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79183
    title CentOS 6 : trousers (CESA-2014:1507)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20141014_TROUSERS_ON_SL6_X.NASL
    description A flaw was found in the way tcsd, the daemon that manages Trusted Computing resources, processed incoming TCP packets. A remote attacker could send a specially crafted TCP packet that, when processed by tcsd, could cause the daemon to crash. Note that by default tcsd accepts requests on localhost only. (CVE-2012-0698) The trousers package has been upgraded to upstream version 0.3.13, which provides a number of bug fixes and enhancements over the previous version, including corrected internal symbol names to avoid collisions with other applications, fixed memory leaks, added IPv6 support, fixed buffer handling in tcsd, as well as changed the license to BSD.
    last seen 2019-02-21
    modified 2018-12-28
    plugin id 78642
    published 2014-10-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=78642
    title Scientific Linux Security Update : trousers on SL6.x i386/x86_64
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS11_TCSD_20121120.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - tcsd in TrouSerS before 0.3.10 allows remote attackers to cause a denial of service (daemon crash) via a crafted type_offset value in a TCP packet to port 30003. (CVE-2012-0698)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80780
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80780
    title Oracle Solaris Third-Party Patch Update : tcsd (cve_2012_0698_denial_of)
packetstorm via4
data source https://packetstormsecurity.com/files/download/118281/crash_tcsd.py.txt
id PACKETSTORM:118281
last seen 2016-12-05
published 2012-11-23
reporter Andy Lutomirski
source https://packetstormsecurity.com/files/118281/TrouSerS-Denial-Of-Service.html
title TrouSerS Denial Of Service
redhat via4
advisories
bugzilla
id 781648
title CVE-2012-0698 trousers: DoS vulnerability in tcsd
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhsa:tst:20100842001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhsa:tst:20100842002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20100842003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20100842004
  • OR
    • AND
      • comment trousers is earlier than 0:0.3.13-2.el6
        oval oval:com.redhat.rhsa:tst:20141507005
      • comment trousers is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20141507006
    • AND
      • comment trousers-devel is earlier than 0:0.3.13-2.el6
        oval oval:com.redhat.rhsa:tst:20141507009
      • comment trousers-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20141507010
    • AND
      • comment trousers-static is earlier than 0:0.3.13-2.el6
        oval oval:com.redhat.rhsa:tst:20141507007
      • comment trousers-static is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20141507008
rhsa
id RHSA-2014:1507
released 2014-10-14
severity Low
title RHSA-2014:1507: trousers security, bug fix, and enhancement update (Low)
rpms
  • trousers-0:0.3.13-2.el6
  • trousers-devel-0:0.3.13-2.el6
  • trousers-static-0:0.3.13-2.el6
refmap via4
confirm
debian DSA-2576
exploit-db 22904
misc http://packetstormsecurity.com/files/118281/TrouSerS-Denial-Of-Service.html
secunia 51295
xf trousers-tcsd-dos(80226)
Last major update 17-08-2013 - 02:41
Published 26-11-2012 - 07:45
Last modified 28-08-2017 - 21:31
Back to Top