Bug 823464 (CVE-2012-2376)

Summary: CVE-2012-2376 php: Buffer overflow in com_print_typeinfo() by parsing certain variant types
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fedora, jorton, rpm
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-21 16:05:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 823468    

Description Jan Lieskovsky 2012-05-21 10:20:58 UTC
A security flaw was found in the way the com_print_typeinfo() routine of the PHP scripting language processed certain COM object arguments. If a PHP language based application remotely accepted untrusted com_print_typeinfo() arguments in order to print out a PHP class definition for a dispatchable interface, a remote attacker could provide a specially-crafted COM object, which once processed by the application could lead to that application crash, or, potentially arbitrary code execution with the privileges of the user running the application.

References:
[1] https://isc.sans.edu/diary/PHP+5+4+Remote+Exploit+PoC+in+the+wild/13255
[2] http://packetstormsecurity.org/files/112851/php54-exec.txt
[3] http://www.exploit-db.com/exploits/18861/
[4] http://www.reddit.com/r/netsec/comments/tuyp3/isc_diary_php_54_remote_exploit_poc_in_the_wild/

CVE request:
[5] http://www.openwall.com/lists/oss-security/2012/05/20/1

CVE assignment:
[6] http://www.openwall.com/lists/oss-security/2012/05/20/2

Comment 1 Stefan Cornelius 2012-05-21 16:05:54 UTC
Statement:

Not vulnerable. This flaw is specific to PHP instances, running on Microsoft Windows platform.