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.
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
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 email@example.com
Subject: phpShop Multiple Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.