Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

PHP phar Extension and "crypt()" Input Handling Vulnerabilities

-

Release Date:  2011-04-25    Last Update:  2012-06-15    Views:  3,334

Secunia Advisory SA44335

Where:

From remote

Impact:

Brute force, DoS, System access

Solution Status:

Vendor Patch

CVE Reference(s):

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

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

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-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability