Secunia Logo
Netsikker nu! 2008
 
PHP "html_entity_decode()" Information Disclosure Vulnerability
Secunia Advisory: SA19383
Release Date: 2006-03-29
Last Update: 2006-05-04
Popularity: 11,981 views

Critical:
Less critical
Impact: Exposure of sensitive information
Where: From remote
Solution Status: Vendor Patch

Software:PHP 4.3.x
PHP 4.4.x
PHP 5.0.x
PHP 5.1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1490


Description:
A vulnerability has been discovered in PHP, which can be exploited by malicious people to gain knowledge of potentially sensitive information.

The vulnerability is caused due to the "html_entity_decode()" PHP function not being binary safe. This can be exploited to disclose certain part of the memory via a script calling the "html_entity_decode()" function with input controlled by the attacker and where the result is sent to the attacker.

Successful may allow disclosure of e.g. passwords stored in a PHP script.

The vulnerability has been confirmed in versions 4.4.2 and 5.1.2. Prior versions may also be affected.

Solution:
The vulnerability has been fixed in the CVS repository and in version 5.1.3.

Do not call the "html_entity_decode()" function in PHP scripts where the input originates from untrusted sources.

Provided and/or discovered by:
Discovered by the vendor and reported to public mailing lists by Tõnu Samuel.

Changelog:
2006-04-03: Added CVE reference.
2006-05-04: Updated "Solution" section.

Original Advisory:
Tõnu Samuel:
http://archives.neohapsis.com/archives/fulldisclosure/2006-03/1675.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB Avatar Functions Information Disclosure and Deletion // 124 views
2. phpBB Avatar Script Insertion Vulnerability // 111 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 99 views
4. phpBB BBcode "url" Script Insertion Vulnerability // 79 views
5. ArticleBeach Script "page" File Inclusion Vulnerability // 63 views
6. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 34 views
7. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 28 views
8. CA ARCserve Backup Multiple Vulnerabilities // 25 views
9. phpBB reveals user IPs // 24 views
10. CUPS Multiple Vulnerabilities // 23 views