RCE in PHP
CVE-2007-4782
PHP before 5.2.3 allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the pattern parameter to the glob function; or (2) a long string in the string parameter to the fnmatch function, accompanied by a pattern parameter value with undefined characteristics, as demonstrated by a "*[1]e" value. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.047, 91.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- FEDORA-2008-3864 (vendor-advisory)
- SUSE-SA:2008:004 (vendor-advisory)
- secunia.com/advisories/28658 (third-party-advisory)
- secunia.com/advisories/30828 (third-party-advisory)
- RHSA-2008:0582 (vendor-advisory)
- GLSA-200710-02 (vendor-advisory)
- USN-628-1 (vendor-advisory)
- 20070904 PHP < 5.2.3 glob() denial of service (mailing-list)
- RHSA-2008:0545 (vendor-advisory)
- secunia.com/advisories/31119 (third-party-advisory)