Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


PHP "htmlentities()" and "htmlspecialchars()" Buffer Overflows Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA22653  
Release Date: 2006-11-02
Last Update: 2006-11-03

Critical:
Highly critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:PHP 4.0.x
PHP 4.1.x
PHP 4.2.x
PHP 4.3.x
PHP 4.4.x
PHP 5.0.x
PHP 5.1.x

CVE reference:CVE-2006-5465 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Some vulnerabilities have been reported in PHP, which can be exploited by malicious people to cause a DoS (Denial of Service) or potentially compromise a vulnerable system.

The vulnerabilities are caused due to boundary errors within the "htmlentities()" and "htmlspecialchars()" functions. If a PHP application uses these functions to process user-supplied input, this can be exploited to cause a heap-based buffer overflow by passing specially crafted data to the affected application.

Successful exploitation may allow execution of arbitrary code, but requires that the UTF-8 character set is selected.

Do you have this product installed on your home computer? Scan using the free Personal Software Inspector. Check if a vulnerable version is installed on computers in your corporate network, scan using the Network Software Inspector.

Solution:
Update to version 5.2.0.

Provided and/or discovered by:
Stefan Esser

Changelog:
2006-11-03: Added additional information provided by the Hardened-PHP Project. Added link to Hardened-PHP Project advisory. Updated "Solution" Section.

Original Advisory:
http://www.ubuntu.com/usn/usn-375-1

Other References:
http://www.hardened-php.net/advisory_132006.138.html



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.

47 Related Secunia Security Advisories, displaying 10

1. PHP Multiple Vulnerabilities
2. PHP COM Objects Security Bypass
3. PHP crypt() Race Condition Vulnerability
4. PHP "gdPngReadData()" Truncated PNG Data Denial of Service
5. PHP Multiple Vulnerabilities
6. PHP "FILTER_VALIDATE_EMAIL" Filter Newline Injection
7. PHP "readwbmp()" Integer Overflow Vulnerability
8. PHP Multiple Code Execution Vulnerabilities
9. PHP Interbase Extension "isc_attach_database()" Buffer Overflow
10. PHP Session Handling Double Free Vulnerabilities

Show all related 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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenBSD BIND Query Port DNS Cache Poisoning
2.
Ubuntu update for php
3.
Red Hat update for kernel
4.
Slackware update for dnsmasq
5.
Debian update for xulrunner
6.
Fedora update for asterisk
7.
Drupal Session Fixation Vulnerability
8.
Microsoft Word Unspecified Code Execution Vulnerability
9.
Oracle Products Multiple Vulnerabilities
10.
Apple Safari Cross-Domain Cookie Injection Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia