SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   PHP Vendors:   PHP Group
(HP Issues Fix for HP-UX) PHP Input Validation Flaw in htmlspecialchars() Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1024116
SecurityTracker URL:  http://securitytracker.com/id/1024116
CVE Reference:   CVE-2009-4142   (Links to External Site)
Date:  Jun 18 2010
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 5.2 prior to 5.2.12
Description:   A vulnerability was reported in PHP. A remote user can conduct cross-site scripting attacks.

The htmlspecialchars() function does not properly filter HTML code from user-supplied input before returning the input. A remote user can cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the PHP software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A demonstration exploit is available at:

http://d.hatena.ne.jp/t_komura/20091004/1254665511

Moriyoshi (hello at iwamot dot com) reported this vulnerability.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the PHP software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:   HP has issued a fix for HP-UX.

The HP advisory is available at:

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02247738

Vendor URL:  www.php.net/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  UNIX (HP/UX)
Underlying OS Comments:  B.11.11, B.11.23, B.11.31

Message History:   This archive entry is a follow-up to the message listed below.
Dec 18 2009 PHP Input Validation Flaw in htmlspecialchars() Permits Cross-Site Scripting Attacks



 Source Message Contents



[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC