{"id":"CVE-2007-5653","aliases":["EUVD-2007-5625","GHSA-wrw6-82r7-m5c2"],"status":"published","title":"The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and...","description":"The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0482,"percentile":0.92034,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2007-10-23T21:00:00Z","modified":"2026-06-16T22:46:34Z","exploits":[{"source":"exploitdb","id":"EDB-4553","title":"PHP 5.x COM - Safe Mode / disable_functions Bypass","type":"local","platform":"windows","date":"2007-10-22","verified":true,"url":"https://www.exploit-db.com/exploits/4553"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.vupen.com/english/advisories/2007/3590","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/4553","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/37368","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/27280","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5653"},{"url":"https://github.com/advisories/GHSA-wrw6-82r7-m5c2"}],"sources":{"cve":[{"id":"CVE-2007-5653","description":"The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.","status":"published","published":"2007-10-23T21:00:00Z","modified":"2024-08-07T15:39:13.609Z","updated_at":"2026-11-02T13:32:00.617893Z"}],"euvd":[{"id":"EUVD-2007-5625","description":"The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.","status":"published","published":"2007-10-23T21:00:00Z","modified":"2024-08-07T15:39:13Z","updated_at":"2026-11-03T01:16:16.183984Z"}],"ghsa":[{"id":"GHSA-wrw6-82r7-m5c2","title":"The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and...","description":"The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.","status":"published","published":"2022-05-01T18:35:28Z","modified":"2023-01-31T05:04:40Z","cwes":["CWE-78"],"updated_at":"2026-11-02T14:48:42.977051Z"}],"nvd":[{"id":"CVE-2007-5653","description":"The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.","status":"published","published":"2007-10-23T21:47:00Z","modified":"2026-06-16T22:46:34.607Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:01:22.203764Z"}]}}
