Heap-based buffer overflow in usbmuxd - CVE-2012-0065
Published: October 7, 2012 / Updated: August 11, 2020
usbmuxd
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 receive_packet function in libusbmuxd/libusbmuxd.c in usbmuxd 1.0.5 through 1.0.7. A remote attacker can use a long SerialNumber field in a property list. 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-0065
Sources
- http://git.marcansoft.com/?p=usbmuxd.git;a=commitdiff;h=f794991993af56a74795891b4ff9da506bc893e6
- http://openwall.com/lists/oss-security/2012/01/19/25
- http://openwall.com/lists/oss-security/2012/01/19/26
- http://secunia.com/advisories/47545
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:133
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:133
- http://www.securityfocus.com/bid/51573
- https://bugs.gentoo.org/show_bug.cgi?id=399409
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72546
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0228