#VU33688 Stack-based buffer overflow in libproxy - CVE-2012-4504


| Updated: 2020-12-05

Vulnerability identifier: #VU33688

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2012-4504

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libproxy
Other software / Other software solutions

Vendor: libproxy

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the url::get_pac function in url.cpp when processing a large proxy.pac file. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

libproxy: 0.4.0 - 0.4.8


External links
https://code.google.com/p/libproxy/source/detail?r=853
https://lists.opensuse.org/opensuse-updates/2012-10/msg00065.html
https://secunia.com/advisories/51048
https://www.openwall.com/lists/oss-security/2012/10/12/1
https://www.openwall.com/lists/oss-security/2012/10/12/5
https://www.openwall.com/lists/oss-security/2012/10/16/3
https://www.securityfocus.com/bid/55909
https://www.ubuntu.com/usn/USN-1629-1
https://bugzilla.redhat.com/show_bug.cgi?id=864417
https://exchange.xforce.ibmcloud.com/vulnerabilities/79249
https://groups.google.com/forum/?fromgroups=#!topic/libproxy/VxZ8No7mT0E


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability