Arbitrary Code Injection Affecting php-cli package, versions <0:5.1.6-20.el5_2.1


Severity

Recommended
0.0
medium
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
2.2% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE5-PHPCLI-2446704
  • published10 Apr 2022
  • disclosed10 Sept 2007

Introduced: 10 Sep 2007

CVE-2007-4782  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Oracle:5 php-cli to version 0:5.1.6-20.el5_2.1 or higher.
This issue was patched in ELSA-2008-0544.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-cli package and not the php-cli package as distributed by Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

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.

CVSS Scores

version 3.1