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

SecurityTracker
Archives


 


Category:   Application (Commerce)  >   FreeWebshop Vendors:   FreeWebshop.org
FreeWebshop Input Validation Holes Permit Cross-Site Scripting Attacks and Include File Attacks
SecurityTracker Alert ID:  1017200
SecurityTracker URL:  http://securitytracker.com/id/1017200
CVE Reference:   CVE-2006-5846, CVE-2006-5847   (Links to External Site)
Updated:  May 30 2008
Original Entry Date:  Nov 9 2006
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 2.2.2 and prior versions
Description:   A vulnerability was reported in FreeWebshop. A remote user can include and execute arbitrary code on the target system. A remote user can conduct cross-site scripting attacks.

The software does not properly validate user-supplied input in the 'page' parameter. A remote user can supply a specially crafted URL to cause the target system to include and execute arbitrary PHP code from files on the target system. The PHP code, including operating system commands, will run with the privileges of the target web service. This can also be exploited to view files on the target system.

Some demonstration exploit URLs are provided:

http://[target]/?page=../../../../../../../../../../etc/passwd%00

http://[target]/index.php?page=../../../../../../../../../../etc/passwd%00

The software does not properly filter HTML code from user-supplied input in the 'cat' parameter before displaying the 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 FreeWebshop 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 URL is provided:

http://[target]/index.php?page=browse&action=list&group=8&cat=

Impact:   A remote user can execute PHP code and operating system commands from files 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 FreeWebshop 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:   The vendor has issued a fixed version (2.2.2, dated 11/03/06@16:05 or later), available at:

http://www.freewebshop.org/?id=5

[Editor's note: The vendor has apparently issued a fixed version with the same version number as the vulnerable version.]

The vendor's advisory is available at:

http://www.freewebshop.org/?id=27

Vendor URL:  www.freewebshop.org/?id=27 (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  FreeWebshop <=2.2.2 [local file include & xss]

FreeWebshop <=2.2.2
severity: hight
vendor site: http://www.freewebshop.org/

impact: an anonymous user can access anyfile on the remote server

PoC :
http://site.com/?page=../../../../../../../../../../etc/passwd%00
http://site.com/index.php?page=../../../../../../../../../../etc/passwd%00


xss get :

http://www.site.com/demo/index.php?page=browse&action=list&group=8&cat=</textarea>'"><script>alert(document.cookie)</script>


http://s-a-p.ca/
contact: saps.audit@gmail.com

 
 


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