ID CVE-2011-4620
Summary Buffer overflow in the ulSetError function in util/ulError.cxx in PLIB 1.8.5, as used in TORCS 1.3.1 and other products, allows user-assisted remote attackers to execute arbitrary code via vectors involving a long error message, as demonstrated by a crafted acc file for TORCS. NOTE: some of these details are obtained from third party information.
References
Vulnerable Configurations
  • cpe:2.3:a:steve_j_baker:plib:1.8.5
    cpe:2.3:a:steve_j_baker:plib:1.8.5
CVSS
Base: 9.3 (as of 02-08-2016 - 09:32)
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 MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
exploit-db via4
description TORCS 1.3.1 acc Buffer Overflow. CVE-2011-4620. Local exploit for windows platform
file exploits/windows/local/18258.c
id EDB-ID:18258
last seen 2016-02-02
modified 2011-12-20
platform windows
port
published 2011-12-20
reporter Andrés Gómez
source https://www.exploit-db.com/download/18258/
title TORCS 1.3.1 acc Buffer Overflow
type local
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2012-789.NASL
    description This update of plib fixed two stack-based buffer overflows.
    last seen 2018-11-13
    modified 2018-11-10
    plugin id 74811
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74811
    title openSUSE Security Update : plib (openSUSE-SU-2012:1506-1)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2425.NASL
    description It was discovered that PLIB, a library used by TORCS, contains a buffer overflow in error message processing, which could allow remote attackers to execute arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 58200
    published 2012-03-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58200
    title Debian DSA-2425-1 : plib - buffer overflow
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-0144.NASL
    description Fix a buffer overflow in ulSetError() (CVE-2011-4620) 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 57545
    published 2012-01-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57545
    title Fedora 15 : plib-1.8.5-5.fc15 (2012-0144)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_13BF0602C08A11E2BB21083E8ED0F47B.NASL
    description Secunia reports : A vulnerability has been discovered in PLIB, which can be exploited by malicious people to compromise an application using the library. The vulnerability is caused due to a boundary error within the 'ulSetError()' function (src/util/ulError.cxx) when creating the error message, which can be exploited to overflow a static buffer. Successful exploitation allows the execution of arbitrary code but requires that the attacker can e.g. control the content of an overly long error message passed to the 'ulSetError()' function. The vulnerability is confirmed in version 1.8.5. Other versions may also be affected. Originally reported in TORCS by Andres Gomez.
    last seen 2019-02-21
    modified 2018-12-19
    plugin id 66507
    published 2013-05-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66507
    title FreeBSD : plib -- buffer overflow (13bf0602-c08a-11e2-bb21-083e8ed0f47b)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_BA51C2F75B4311E1828800262D5ED8EE.NASL
    description Secunia reports : A vulnerability has been discovered in PLIB, which can be exploited by malicious people to compromise an application using the library. The vulnerability is caused due to a boundary error within the 'ulSetError()' function (src/util/ulError.cxx) when creating the error message, which can be exploited to overflow a static buffer. Successful exploitation allows the execution of arbitrary code but requires that the attacker can e.g. control the content of an overly long error message passed to the 'ulSetError()' function. The vulnerability is confirmed in version 1.8.5. Other versions may also be affected.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 58021
    published 2012-02-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58021
    title FreeBSD : plib -- remote code execution via buffer overflow (ba51c2f7-5b43-11e1-8288-00262d5ed8ee)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-0100.NASL
    description Fix a buffer-overflow in ulSetError() (CVE-2011-4620) 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 57544
    published 2012-01-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57544
    title Fedora 16 : plib-1.8.5-5.fc16 (2012-0100)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201606-16.NASL
    description The remote host is affected by the vulnerability described in GLSA-201606-16 (PLIB: Buffer overflow vulnerability) A buffer overflow in PLIB allows user-assisted remote attackers to execute arbitrary code via vectors involving a long error message, as demonstrated by a crafted acc file for TORCS. Impact : Remote attackers could execute arbitrary code with the privileges of the process. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2016-06-27
    plugin id 91847
    published 2016-06-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=91847
    title GLSA-201606-16 : PLIB: Buffer overflow vulnerability
refmap via4
exploit-db 18258
gentoo GLSA-201606-16
mlist [oss-security] 20111221 plib ulSetError() buffer overflow - CVE-2011-4620
osvdb 77973
secunia
  • 47297
  • 51340
suse
  • openSUSE-SU-2012:1506
  • openSUSE-SU-2013:0146
Last major update 02-08-2016 - 09:35
Published 30-12-2011 - 20:55
Back to Top