Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA46107

PHP Multiple Vulnerabilities
Secunia Advisory SA46107
DOWNLOAD CSI


DOWNLOAD PSI
Release Date 2011-09-26
Last Update 2012-03-06
   
Popularity 1,323 view
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Exposure of sensitive information
DoS
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia CSI, Secunia PSI
Automated scanning Secunia CSI, Secunia PSI
   
Software:
PHP 5.3.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2011-3379 CVSS available in Customer Area
CVE-2011-4566 CVSS available in Customer Area
CVE-2012-0057 CVSS available in Customer Area
CVE-2012-0789 CVSS available in Customer Area
  

Description

A security issue and two vulnerabilities have been reported in PHP, which potentially can be exploited by malicious people to disclose potentially sensitive information or cause a DoS (Denial of Service) and compromise a vulnerable system.

1) The security issue is caused due to a change in the behaviour of the "is_a()" function when receiving strings as first argument, which can lead to the "__autoload()" function being called unexpectedly. In context of certain applications that rely on PHP's previous behaviour and do not properly verify input in their "__autoload()" function, this change can open up unexpected attack vectors, which can potentially be exploited to e.g. execute arbitrary PHP code by including arbitrary files from remote resources.

2) The vulnerability is caused due to an integer overflow error within the "exif_process_IFD_TAG()" function (ext/exif/exif.c) when processing offset values within the EXIF header. This can be exploited to read arbitrary data from memory or cause a crash via a specially crafted image.

NOTE: This vulnerability only affects 32 bit versions.

3) PHP does not properly restrict certain potentially dangerous operations (e.g. file access) when processing XSLT style sheets, which can be exploited to e.g. create or overwrite arbitrary files by sending a specially crafted XSLT style sheets to an affected script.

NOTE: Additionally, a weakness exists within the "strtotime()" function when processing a date string containing timezone information may result in a memory leak at each invocation eventually exhausting memory resources.


Solution
Update to version 5.3.9.

Provided and/or discovered by
1) Reported in a PHP bug by Mads, gartneriet.dk.
2) Reported in a PHP bug by flolechaud.
3) Nicolas Gregoire

Changelog
Further details available in Customer Area

Original Advisory
https://bugs.php.net/bug.php?id=55475
https://bugs.php.net/bug.php?id=60150
https://bugs.php.net/bug.php?id=54446
http://www.byte.nl/blog/2011/09/23/security-bug-in-is_a-function-in-php-5-3-7-5-3-8/
http://www.php.net/archive/2012.php#id2012-01-11-1
https://bugs.php.net/bug.php?id=53502

Nicolas Gregoire:
http://xhe.myxwiki.org/xwiki/bin/view/XSLT/Application_PHP5

Technical Analysis
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: PHP Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability