Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

phpShop Multiple Vulnerabilities

-

Release Date:  2008-09-19    Last Update:  2011-02-25    Views:  6,744

Secunia Advisory SA31948

Where:

From remote

Impact:

Hijacking, Cross Site Scripting, Manipulation of data

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


Some vulnerabilities have been discovered in phpShop, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct session fixation, cross-site scripting, and request forgery attacks.

1) The vulnerability is caused due to an error in the handling of sessions and can be exploited to hijack another user's session by tricking the user into logging in after following a specially crafted link.

2) Input passed via various parameters to multiple scripts is not properly sanitised before being using in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Examples:
http://[host]/?page=shop/flypage&product_id=[code]
http://[host]/?page=vendor/vendor_form&vendor_id=[code]
http://[host]/?page=vendor/vendor_category_form&vendor_category_id=[code]
http://[host]/?page=store/user_form&user_id=[code]
http://[host]/?page=store/payment_method_form&payment_method_id=[code]
http://[host]/?page=tax/tax_form&tax_rate_id=[code]
http://[host]/?page=shop/browse&category=[code]

3) Input passed via the "order_id" parameter to index.php (when "page" is set to "order/order_print") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

4) The application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to e.g. add new products if a logged-in user visits a specially crafted web site.

5) Input passed via the URL to index.php (when "page" is set to "shop/index" and "login" is set to "1") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities are confirmed in version 0.8.1. Other versions may also be affected.


Solution:
Use another product.

Provided and/or discovered by:
1) Michael Schratt
2 - 4) Andrea Fabrizi
5) Aung Khant, YGN Ethical Hacker Group

Original Advisory:
2 - 4) http://www.andreafabrizi.it/?exploits:phpshop
5) http://yehg.net/lab/pr0js/advisories/[phpshop_0.8.1]_cross_site_scripting

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: phpShop Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability