Back to CVE catalog
CVE-2007-5653

COM functions in PHP on Windows bypass restrictions

php php

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

9.3High
Published:
Updated:
EPSS:
4.82%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
≤ 5.2.4

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories8

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences