ID CVE-2012-4505
Summary Heap-based buffer overflow in the px_pac_reload function in lib/pac.c in libproxy 0.2.x and 0.3.x allows remote servers to have an unspecified impact via a crafted Content-Length size in an HTTP response header for a proxy.pac file request, a different vulnerability than CVE-2012-4504.
References
Vulnerable Configurations
  • libproxy Project libproxy 0.2.3
    cpe:2.3:a:libproxy_project:libproxy:0.2.3
  • libproxy Project libproxy 0.3.0
    cpe:2.3:a:libproxy_project:libproxy:0.3.0
  • libproxy Project libproxy 0.3.1
    cpe:2.3:a:libproxy_project:libproxy:0.3.1
CVSS
Base: 10.0 (as of 12-11-2012 - 15:37)
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 Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1629-1.NASL
    description Tomas Mraz discovered that libproxy incorrectly handled certain PAC files. A remote attacker could use this issue to cause libproxy to crash, or to possibly execute arbitrary code. (CVE-2012-4504, CVE-2012-4505). 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 62899
    published 2012-11-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62899
    title Ubuntu 10.04 LTS / 11.10 / 12.04 LTS : libproxy vulnerabilities (USN-1629-1)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2012-720.NASL
    description This update of libproxy fixed a buffer overflow flaw.
    last seen 2018-11-13
    modified 2018-11-10
    plugin id 74787
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=74787
    title openSUSE Security Update : libproxy / libproxy-plugins (openSUSE-SU-2012:1375-1)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20121114_LIBPROXY_ON_SL6_X.NASL
    description A buffer overflow flaw was found in the way libproxy handled the downloading of proxy auto-configuration (PAC) files. A malicious server hosting a PAC file or a man-in-the-middle attacker could use this flaw to cause an application using libproxy to crash or, possibly, execute arbitrary code, if the proxy settings obtained by libproxy (from the environment or the desktop environment settings) instructed the use of a PAC proxy configuration. (CVE-2012-4505) All applications using libproxy must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 62933
    published 2012-11-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62933
    title Scientific Linux Security Update : libproxy on SL6.x i386/x86_64
  • NASL family Solaris Local Security Checks
    NASL id SOLARIS11_LIBPROXY_20140114.NASL
    description The remote Solaris system is missing necessary patches to address security updates : - Stack-based buffer overflow in the url::get_pac function in url.cpp in libproxy 0.4.x before 0.4.9 allows remote servers to have an unspecified impact via a large proxy.pac file. (CVE-2012-4504) - Heap-based buffer overflow in the px_pac_reload function in lib/pac.c in libproxy 0.2.x and 0.3.x allows remote servers to have an unspecified impact via a crafted Content-Length size in an HTTP response header for a proxy.pac file request, a different vulnerability than CVE-2012-4504. (CVE-2012-4505)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 80675
    published 2015-01-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=80675
    title Oracle Solaris Third-Party Patch Update : libproxy (multiple_buffer_errors_vulnerability_in1)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2012-1461.NASL
    description Updated libproxy packages that fix one security issue are now available for Red Hat Enterprise Linux 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. libproxy is a library that handles all the details of proxy configuration. A buffer overflow flaw was found in the way libproxy handled the downloading of proxy auto-configuration (PAC) files. A malicious server hosting a PAC file or a man-in-the-middle attacker could use this flaw to cause an application using libproxy to crash or, possibly, execute arbitrary code, if the proxy settings obtained by libproxy (from the environment or the desktop environment settings) instructed the use of a PAC proxy configuration. (CVE-2012-4505) This issue was discovered by the Red Hat Security Response Team. Users of libproxy should upgrade to these updated packages, which contain a backported patch to correct this issue. All applications using libproxy must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 62928
    published 2012-11-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62928
    title CentOS 6 : libproxy (CESA-2012:1461)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2012-1461.NASL
    description Updated libproxy packages that fix one security issue are now available for Red Hat Enterprise Linux 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. libproxy is a library that handles all the details of proxy configuration. A buffer overflow flaw was found in the way libproxy handled the downloading of proxy auto-configuration (PAC) files. A malicious server hosting a PAC file or a man-in-the-middle attacker could use this flaw to cause an application using libproxy to crash or, possibly, execute arbitrary code, if the proxy settings obtained by libproxy (from the environment or the desktop environment settings) instructed the use of a PAC proxy configuration. (CVE-2012-4505) This issue was discovered by the Red Hat Security Response Team. Users of libproxy should upgrade to these updated packages, which contain a backported patch to correct this issue. All applications using libproxy must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 62922
    published 2012-11-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62922
    title RHEL 6 : libproxy (RHSA-2012:1461)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2571.NASL
    description The Red Hat Security Response Team discovered that libproxy, a library for automatic proxy configuration management, applied insufficient validation to the Content-Length header sent by a server providing a proxy.pac file. Such remote server could trigger an integer overflow and consequently overflow an in-memory buffer.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 62804
    published 2012-11-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=62804
    title Debian DSA-2571-1 : libproxy - buffer overflow
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_LIBPROXY-121123.NASL
    description This update for libproxy fixes a heap-based buffer overflow that could have allowed remote servers to have an unspecified impact via a crafted Content-Length size in an HTTP response header for a proxy.pac file request. (CVE-2012-4505) Additionally, it fixes parsing of the $no_proxy environment variable when it contains more than one URL separated by white-spaces.
    last seen 2019-02-21
    modified 2013-10-25
    plugin id 64191
    published 2013-01-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64191
    title SuSE 11.2 Security Update : libproxy (SAT Patch Number 7092)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2012-1461.NASL
    description From Red Hat Security Advisory 2012:1461 : Updated libproxy packages that fix one security issue are now available for Red Hat Enterprise Linux 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. libproxy is a library that handles all the details of proxy configuration. A buffer overflow flaw was found in the way libproxy handled the downloading of proxy auto-configuration (PAC) files. A malicious server hosting a PAC file or a man-in-the-middle attacker could use this flaw to cause an application using libproxy to crash or, possibly, execute arbitrary code, if the proxy settings obtained by libproxy (from the environment or the desktop environment settings) instructed the use of a PAC proxy configuration. (CVE-2012-4505) This issue was discovered by the Red Hat Security Response Team. Users of libproxy should upgrade to these updated packages, which contain a backported patch to correct this issue. All applications using libproxy must be restarted for this update to take effect.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68657
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68657
    title Oracle Linux 6 : libproxy (ELSA-2012-1461)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2012-140.NASL
    description A buffer overflow flaw was found in the way libproxy handled the downloading of proxy auto-configuration (PAC) files. A malicious server hosting a PAC file or a man-in-the-middle attacker could use this flaw to cause an application using libproxy to crash or, possibly, execute arbitrary code, if the proxy settings obtained by libproxy (from the environment or the desktop environment settings) instructed the use of a PAC proxy configuration. (CVE-2012-4505)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 69630
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69630
    title Amazon Linux AMI : libproxy (ALAS-2012-140)
redhat via4
advisories
bugzilla
id 864612
title CVE-2012-4505 libproxy: PAC handling insufficient content length check leading to buffer overflow
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 libproxy is earlier than 0:0.3.0-3.el6_3
        oval oval:com.redhat.rhsa:tst:20121461005
      • comment libproxy is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121461006
    • AND
      • comment libproxy-bin is earlier than 0:0.3.0-3.el6_3
        oval oval:com.redhat.rhsa:tst:20121461011
      • comment libproxy-bin is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121461012
    • AND
      • comment libproxy-devel is earlier than 0:0.3.0-3.el6_3
        oval oval:com.redhat.rhsa:tst:20121461015
      • comment libproxy-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121461016
    • AND
      • comment libproxy-gnome is earlier than 0:0.3.0-3.el6_3
        oval oval:com.redhat.rhsa:tst:20121461017
      • comment libproxy-gnome is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121461018
    • AND
      • comment libproxy-kde is earlier than 0:0.3.0-3.el6_3
        oval oval:com.redhat.rhsa:tst:20121461013
      • comment libproxy-kde is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121461014
    • AND
      • comment libproxy-mozjs is earlier than 0:0.3.0-3.el6_3
        oval oval:com.redhat.rhsa:tst:20121461019
      • comment libproxy-mozjs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121461020
    • AND
      • comment libproxy-python is earlier than 0:0.3.0-3.el6_3
        oval oval:com.redhat.rhsa:tst:20121461009
      • comment libproxy-python is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121461010
    • AND
      • comment libproxy-webkit is earlier than 0:0.3.0-3.el6_3
        oval oval:com.redhat.rhsa:tst:20121461007
      • comment libproxy-webkit is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20121461008
rhsa
id RHSA-2012:1461
released 2012-11-14
severity Moderate
title RHSA-2012:1461: libproxy security update (Moderate)
rpms
  • libproxy-0:0.3.0-3.el6_3
  • libproxy-bin-0:0.3.0-3.el6_3
  • libproxy-devel-0:0.3.0-3.el6_3
  • libproxy-gnome-0:0.3.0-3.el6_3
  • libproxy-kde-0:0.3.0-3.el6_3
  • libproxy-mozjs-0:0.3.0-3.el6_3
  • libproxy-python-0:0.3.0-3.el6_3
  • libproxy-webkit-0:0.3.0-3.el6_3
refmap via4
bid 55910
confirm
debian DSA-2571
mlist
  • [oss-security] 20121012 Re: libproxy PAC downloading buffer overflows
  • [oss-security] 20121012 libproxy PAC downloading buffer overflows
  • [oss-security] 20121016 Re: libproxy PAC downloading buffer overflows
secunia
  • 51048
  • 51180
  • 51308
suse openSUSE-SU-2012:1375
ubuntu USN-1629-1
Last major update 10-04-2013 - 23:31
Published 11-11-2012 - 08:00
Last modified 13-08-2018 - 17:47
Back to Top