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

Secunia Advisory SA44335

PHP phar Extension and "crypt()" Input Handling Vulnerabilities
Secunia Advisory SA44335
Secunia VIM 4.0 - Free Trial
Release Date 2011-04-25
Last Update 2012-06-15
   
Popularity 2,880 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Brute force
DoS
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
   
3rd party PoC/exploit Link available in Customer Area
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
Remediation status Secunia CSI, Secunia PSI
Automated scanning Secunia CSI, Secunia PSI
   
Software:
PHP 5.3.x
PHP 5.4.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2012-2386 CVSS score available to Secunia VIM customers
  

Description

A weakness and a vulnerability have been reported in PHP, which can be exploited by malicious people to conduct brute force attacks, cause a DoS (Denial of Service), and potentially compromise a vulnerable system.

1) The vulnerability is caused due to an integer overflow error within the phar extension in the "phar_parse_tarfile()" function (ext/phar/tar.c) and can be exploited to cause a heap-based buffer overflow via a specially crafted TAR file.

Successful exploitation of this vulnerability may allow execution of arbitrary code.

2) The weakness is caused due to an error in the DES implementation within the "crypt()" function.

For more information:
SA49304

The weakness and the vulnerability are reported in versions prior to 5.3.14 and 5.4.4.


Solution
Update to version 5.4.4 or 5.3.14.

Provided and/or discovered by
1) Alexander Gavrun

Changelog
Further details available to Secunia VIM customers

Original Advisory
Alexander Gavrun:
http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html

PHP:
http://www.php.net/archive/2012.php#id2012-06-14-1

Other references
Further details available to Secunia VIM customers

Deep Links
Links available to Secunia VIM customers


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 phar Extension and "crypt()" Input Handling 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
Webinars
Events
 About us
Careers
Memberships
Newsroom


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