CVE-2007-5653: OS Command Injection

Published Oct 23, 2007
·
Updated

The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safemode and disablefunctions 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 comloadtypelib function.

Affected Software

1 affected component
PHP PHP<=5.2.4

Event History

Oct 23, 2007
CVE Published
09:47 PM
Oct 24, 2007
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2007-5653?

CVE-2007-5653 has been classified as a high-severity vulnerability due to its ability to allow attackers to bypass security restrictions.

2

How do I fix CVE-2007-5653?

To mitigate CVE-2007-5653, upgrade PHP to a version later than 5.2.4 where this vulnerability has been addressed.

3

What systems are affected by CVE-2007-5653?

CVE-2007-5653 affects PHP 5.x on Windows systems, specifically versions up to and including 5.2.4.

4

What types of attacks can occur due to CVE-2007-5653?

CVE-2007-5653 allows attackers to execute objects that have the kill bit set, potentially leading to unauthorized actions on the system.

5

Is CVE-2007-5653 a remote or local vulnerability?

CVE-2007-5653 is considered a local vulnerability because it requires context-dependent access to exploit the COM functions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203