Improper Input Validation Affecting php-devel package, versions <0:5.3.3-22.el6


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.56% (78th 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 IDSNYK-RHEL6-PHPDEVEL-1455043
  • published26 Jul 2021
  • disclosed2 Feb 2012

Introduced: 2 Feb 2012

CVE-2012-0831  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:6 php-devel to version 0:5.3.3-22.el6 or higher.
This issue was patched in RHSA-2013:0514.

NVD Description

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

PHP before 5.3.10 does not properly perform a temporary change to the magic_quotes_gpc directive during the importing of environment variables, which makes it easier for remote attackers to conduct SQL injection attacks via a crafted request, related to main/php_variables.c, sapi/cgi/cgi_main.c, and sapi/fpm/fpm/fpm_main.c.

CVSS Scores

version 3.1