Stefan Schurtz has discovered two weaknesses and multiple vulnerabilities in AShop, which can be exploited by malicious people to conduct spoofing and cross-site scripting attacks.
1) Input passed via the "redirect" parameter to language.php (when "language" is set) and the "redirect" parameter to currency.php is not properly verified before being used to redirect users. This can be exploited to redirect a user to an arbitrary website e.g. when a user clicks a specially crafted link to the affected script hosted on a trusted domain.
2) Input passed via the "picture" parameter to picture.php, the "resultpage" parameter to catalogue.php, and the "sid" parameter to basket.php 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 weaknesses and vulnerabilities are confirmed in version 5.1.3. Prior versions may also be affected.
Solution: Update to version 5.1.4
Provided and/or discovered by: Stefan Schurtz
Original Advisory: http://seclists.org/fulldisclosure/2011/Nov/122
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: AShop URL Redirection and Cross-Site Scripting 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.