Stack-based buffer overflow in libproxy - CVE-2012-4504
Published: November 11, 2012 / Updated: December 5, 2020
libproxy
Detailed vulnerability 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.
How to mitigate CVE-2012-4504
Sources
- http://code.google.com/p/libproxy/source/detail?r=853
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00065.html
- http://secunia.com/advisories/51048
- http://www.openwall.com/lists/oss-security/2012/10/12/1
- http://www.openwall.com/lists/oss-security/2012/10/12/5
- http://www.openwall.com/lists/oss-security/2012/10/16/3
- http://www.securityfocus.com/bid/55909
- http://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