Secunia Logo  
 
PHP "html_entity_decode()" Information Disclosure Vulnerability
Secunia Advisory: SA19383
Release Date: 2006-03-29
Last Update: 2006-05-04
Popularity: 12,660 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. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 62 views
2. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 58 views
3. Red Hat update for openssl // 38 views
4. HP OpenView Network Node Manager Multiple Vulnerabilities // 36 views
5. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 35 views
6. Symantec Mail Security for SMTP Response Handling Denial of Service // 35 views
7. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 35 views
8. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 32 views
9. Red Hat update for dbus // 31 views
10. BlogHelper "common_db.inc" Information Disclosure Security Issue // 31 views