Vulnerability & Exploit Database

Back to search

RHSA-2012:1045: php security update

Severity CVSS Published Added Modified
6 (AV:N/AC:L/Au:N/C:P/I:P/A:N) February 01, 2012 June 28, 2012 July 04, 2017

Description

PHP is an HTML-embedded scripting language commonly used with the ApacheHTTP Server.It was discovered that the PHP XSL extension did not restrict the filewriting capability of libxslt. A remote attacker could use this flaw tocreate or overwrite an arbitrary file that is writable by the user runningPHP, if a PHP script processed untrusted eXtensible Style Sheet LanguageTransformations (XSLT) content. (CVE-2012-0057)Note: This update disables file writing by default. A new PHP configurationdirective, "xsl.security_prefs", can be used to enable file writing inXSLT.A flaw was found in the way PHP validated file names in file uploadrequests. A remote attacker could possibly use this flaw to bypass thesanitization of the uploaded file names, and cause a PHP script to storethe uploaded file in an unexpected directory, by using a directorytraversal attack. (CVE-2012-1172)It was discovered that the fix for CVE-2012-1823, released viaRHSA-2012:0546, did not properly filter all php-cgi command line arguments.A specially-crafted request to a PHP script could cause the PHP interpreterto output usage information that triggers an Internal Server Error.(CVE-2012-2336)A memory leak flaw was found in the PHP strtotime() function call. A remoteattacker could possibly use this flaw to cause excessive memory consumptionby triggering many strtotime() function calls. (CVE-2012-0789)It was found that PHP did not check the zend_strndup() function's returnvalue in certain cases. A remote attacker could possibly use this flaw tocrash a PHP application. (CVE-2011-4153)All php users should upgrade to these updated packages, which containbackported patches to resolve these issues. After installing the updatedpackages, the httpd daemon must be restarted for the update to take effect.

Scan For This Vulnerability

Use our top-rated tool to discover, prioritize, and remediate your vulnerabilities

 Free InsightVM Trial

References

Solution

redhat-upgrade-php

Related Vulnerabilities