CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
4.8 | $0-$5k | 0.00 |
A vulnerability was found in PHP 5.2.3 (Programming Language Software). It has been rated as problematic. This issue affects the function fnmatch
. The manipulation of the argument pattern
with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is availability. The summary by CVE is:
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.
The bug was discovered 09/04/2007. The weakness was shared 09/04/2007 by Rasmus Lerdorf with SecurityReason (Website). It is possible to read the advisory at redhat.com. The identification of this vulnerability is CVE-2007-4782 since 09/10/2007. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.
The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 67711 (Oracle Linux 3 / 5 : php (ELSA-2008-0544)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165666 (SUSE Enterprise Linux Security Update php4, php5 (SUSE-SA:2008:004)).
Upgrading to version 5.2.3 eliminates this vulnerability. A possible mitigation has been published 12 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (36457) and Tenable (67711). The entries 3287, 3284, 3285 and 3282 are related to this item.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
ATT&CK: T1059
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 67711
Nessus Name: Oracle Linux 3 / 5 : php (ELSA-2008-0544)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 880308
OpenVAS Name: Centreon command_name Parameter Remote Command Execution Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: PHP 5.2.3
Timeline
09/04/2007 🔍09/04/2007 🔍
09/04/2007 🔍
09/10/2007 🔍
09/10/2007 🔍
10/14/2007 🔍
11/08/2007 🔍
11/12/2007 🔍
11/15/2007 🔍
07/16/2008 🔍
07/12/2013 🔍
03/16/2015 🔍
07/27/2019 🔍
Sources
Product: php.orgAdvisory: redhat.com
Researcher: Rasmus Lerdorf
Organization: SecurityReason
Status: Not defined
CVE: CVE-2007-4782 (🔍)
OVAL: 🔍
X-Force: 36457
Vulnerability Center: 16517 - PHP <= 5.2.3 Remote Denial of Service via Long Strings to glob or fnmatch Functions, Medium
SecurityFocus: 26403 - PHP 5.2.4 and Prior Versions Multiple Vulnerabilities
Secunia: 27648
OSVDB: 38686 - PHP glibc Implementation fnmatch() Function Overflow
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/16/2015 12:18Updated: 07/27/2019 16:42
Changes: 03/16/2015 12:18 (88), 07/27/2019 16:42 (2)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.