Heap-based buffer overflow in libproxy - CVE-2012-4505
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 in Heap-based buffer overflow in the px_pac_reload function in lib/pac.c in libproxy 0.2.x and 0.3.x. A remote attacker can use a crafted Content-Length size in an HTTP response header for a proxy.pac file request to trigger heap-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-4505
Sources
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00065.html
- http://rhn.redhat.com/errata/RHSA-2012-1461.html
- http://secunia.com/advisories/51048
- http://secunia.com/advisories/51180
- http://secunia.com/advisories/51308
- http://www.debian.org/security/2012/dsa-2571
- 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/55910
- http://www.ubuntu.com/usn/USN-1629-1
- https://bugzilla.redhat.com/show_bug.cgi?id=864612
- https://groups.google.com/forum/?fromgroups=#!topic/libproxy/VxZ8No7mT0E