ID CVE-2012-0804
Summary Heap-based buffer overflow in the proxy_connect function in src/client.c in CVS 1.11 and 1.12 allows remote HTTP proxy servers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted HTTP response.
References
Vulnerable Configurations
  • cpe:2.3:a:cvs:cvs:1.11
    cpe:2.3:a:cvs:cvs:1.11
  • cpe:2.3:a:cvs:cvs:1.12
    cpe:2.3:a:cvs:cvs:1.12
CVSS
Base: 10.0 (as of 30-05-2012 - 11:12)
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
COMPLETE COMPLETE COMPLETE
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2012-133.NASL
    description cvs was prone to a heap-based buffer overflow in the client side proxy handling
    last seen 2019-02-21
    modified 2014-06-13
    plugin id 74556
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74556
    title openSUSE Security Update : cvs (openSUSE-2012-133)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2012-0321.NASL
    description Updated cvs packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate 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. Concurrent Version System (CVS) is a version control system that can record the history of your files. A heap-based buffer overflow flaw was found in the way the CVS client handled responses from HTTP proxies. A malicious HTTP proxy could use this flaw to cause the CVS client to crash or, possibly, execute arbitrary code with the privileges of the user running the CVS client. (CVE-2012-0804) All users of cvs are advised to upgrade to these updated packages, which contain a patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 58108
    published 2012-02-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58108
    title CentOS 5 / 6 : cvs (CESA-2012:0321)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-1400.NASL
    description Fix CVE-2012-0804 (Client heap-based buffer overflow on bad proxy response) 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 57966
    published 2012-02-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57966
    title Fedora 15 : cvs-1.11.23-17.fc15 (2012-1400)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2407.NASL
    description It was discovered that a malicious CVS server could cause a heap overflow in the CVS client, potentially allowing the server to execute arbitrary code on the client.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 57880
    published 2012-02-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57880
    title Debian DSA-2407-1 : cvs - heap overflow
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2012-1383.NASL
    description Fix CVE-2012-0804 (Client heap-based buffer overflow on bad proxy response) 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 57965
    published 2012-02-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57965
    title Fedora 16 : cvs-1.11.23-22.fc16 (2012-1383)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2012-51.NASL
    description A heap-based buffer overflow flaw was found in the way the CVS client handled responses from HTTP proxies. A malicious HTTP proxy could use this flaw to cause the CVS client to crash or, possibly, execute arbitrary code with the privileges of the user running the CVS client. (CVE-2012-0804)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 69658
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69658
    title Amazon Linux AMI : cvs (ALAS-2012-51)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2012-0321.NASL
    description From Red Hat Security Advisory 2012:0321 : Updated cvs packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate 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. Concurrent Version System (CVS) is a version control system that can record the history of your files. A heap-based buffer overflow flaw was found in the way the CVS client handled responses from HTTP proxies. A malicious HTTP proxy could use this flaw to cause the CVS client to crash or, possibly, execute arbitrary code with the privileges of the user running the CVS client. (CVE-2012-0804) All users of cvs are advised to upgrade to these updated packages, which contain a patch to correct this issue.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68486
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68486
    title Oracle Linux 5 / 6 : cvs (ELSA-2012-0321)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_4_CVS-120222.NASL
    description A heap-based buffer overflow flaw was found in the way CVS read proxy connection HTTP responses. An attacker could exploit this to cause the application to crash or, potentially, execute arbitrary code in the context of the user running the application (CVE-2012-0804).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75808
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75808
    title openSUSE Security Update : cvs (openSUSE-SU-2012:0310-1)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1371-1.NASL
    description It was discovered that cvs incorrectly handled certain responses from proxy servers. If a user were tricked into connecting to a malicious proxy server, a remote attacker could cause cvs to crash, or possibly execute arbitrary code. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu 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 2018-12-01
    plugin id 58104
    published 2012-02-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58104
    title Ubuntu 10.04 LTS / 10.10 / 11.04 / 11.10 : cvs vulnerability (USN-1371-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201701-44.NASL
    description The remote host is affected by the vulnerability described in GLSA-201701-44 (CVS: Heap-based overflow) A heap-based buffer overflow was discovered in the proxy_connect function in src/client.c in CVS. Impact : An attacker, utilizing a remote HTTP proxy server, could cause a Denial of Service condition or possibly execute arbitrary code via a crafted HTTP response. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2017-01-20
    plugin id 96641
    published 2017-01-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=96641
    title GLSA-201701-44 : CVS: Heap-based overflow
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20120221_CVS_ON_SL5_X.NASL
    description Concurrent Version System (CVS) is a version control system that can record the history of your files. A heap-based buffer overflow flaw was found in the way the CVS client handled responses from HTTP proxies. A malicious HTTP proxy could use this flaw to cause the CVS client to crash or, possibly, execute arbitrary code with the privileges of the user running the CVS client. (CVE-2012-0804) All users of cvs are advised to upgrade to these updated packages, which contain a patch to correct this issue.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 61260
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61260
    title Scientific Linux Security Update : cvs on SL5.x, SL6.x i386/x86_64
  • NASL family SuSE Local Security Checks
    NASL id SUSE_CVS-7991.NASL
    description A heap-based buffer overflow flaw was found in the way CVS read proxy connection HTTP responses. An attacker could exploit this to cause the application to crash or, potentially, execute arbitrary code in the context of the user running the application. (CVE-2012-0804)
    last seen 2019-02-21
    modified 2012-05-31
    plugin id 58142
    published 2012-02-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58142
    title SuSE 10 Security Update : CVS (ZYPP Patch Number 7991)
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS11_CVS_20140731.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - Heap-based buffer overflow in the proxy_connect function in src/client.c in CVS 1.11 and 1.12 allows remote HTTP proxy servers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted HTTP response. (CVE-2012-0804)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80598
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80598
    title Oracle Solaris Third-Party Patch Update : cvs (cve_2012_0804_buffer_errors)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2012-0321.NASL
    description Updated cvs packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate 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. Concurrent Version System (CVS) is a version control system that can record the history of your files. A heap-based buffer overflow flaw was found in the way the CVS client handled responses from HTTP proxies. A malicious HTTP proxy could use this flaw to cause the CVS client to crash or, possibly, execute arbitrary code with the privileges of the user running the CVS client. (CVE-2012-0804) All users of cvs are advised to upgrade to these updated packages, which contain a patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-26
    plugin id 58083
    published 2012-02-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58083
    title RHEL 5 / 6 : cvs (RHSA-2012:0321)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_CVS-120222.NASL
    description A heap-based buffer overflow flaw was found in the way CVS read proxy connection HTTP responses. An attacker could exploit this to cause the application to crash or, potentially, execute arbitrary code in the context of the user running the application. (CVE-2012-0804)
    last seen 2019-02-21
    modified 2013-10-25
    plugin id 58140
    published 2012-02-28
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58140
    title SuSE 11.1 Security Update : CVS (SAT Patch Number 5860)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2012-044.NASL
    description A vulnerability has been found and corrected in cvs : A heap-based buffer overflow flaw was found in the way the CVS client handled responses from HTTP proxies. A malicious HTTP proxy could use this flaw to cause the CVS client to crash or, possibly, execute arbitrary code with the privileges of the user running the CVS client (CVE-2012-0804). The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 58531
    published 2012-03-30
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58531
    title Mandriva Linux Security Advisory : cvs (MDVSA-2012:044)
redhat via4
advisories
bugzilla
id 784141
title CVE-2012-0804 cvs: client proxy_connect heap-based buffer overflow
oval
OR
  • AND
    • comment cvs is earlier than 0:1.11.23-11.el6_2.1
      oval oval:com.redhat.rhsa:tst:20120321005
    • comment cvs is signed with Red Hat redhatrelease2 key
      oval oval:com.redhat.rhsa:tst:20100918006
    • 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
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment cvs is earlier than 0:1.11.22-11.el5_8.1
          oval oval:com.redhat.rhsa:tst:20120321008
        • comment cvs is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20120321009
      • AND
        • comment cvs-inetd is earlier than 0:1.11.22-11.el5_8.1
          oval oval:com.redhat.rhsa:tst:20120321010
        • comment cvs-inetd is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20120321011
rhsa
id RHSA-2012:0321
released 2012-02-21
severity Moderate
title RHSA-2012:0321: cvs security update (Moderate)
rpms
  • cvs-0:1.11.23-11.el6_2.1
  • cvs-0:1.11.22-11.el5_8.1
  • cvs-inetd-0:1.11.22-11.el5_8.1
refmap via4
bid 51943
debian DSA-2407
gentoo GLSA-201701-44
mandriva MDVSA-2012:044
misc https://bugzilla.redhat.com/show_bug.cgi?id=784141
osvdb 78987
sectrack 1026719
secunia
  • 47869
  • 48063
  • 48142
  • 48150
suse openSUSE-SU-2012:0310
ubuntu USN-1371-1
xf cvs-proxyconnect-bo(73097)
Last major update 01-04-2013 - 23:15
Published 29-05-2012 - 16:55
Last modified 17-01-2018 - 21:29
Back to Top