James Bercegay has reported some vulnerabilities in osCommerce, which can be exploited by malicious people to disclose certain sensitive information, or to conduct cross-site scripting and SQL injection attacks.
1) Input passed to the "products_id" and "pid" parameters in "index.php" and the "goto" parameter in "banner.php" is not properly sanitised. This can be exploited to inject malicious characters into HTTP headers and may allow execution of arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerabilities have been reported in version 2.2 and prior.
2) Input passed to unspecified parameters is not properly sanitised before being used to handle cache files. This can potentially be exploited to enumerate the existence of files on the system or to determine writable directories.
3) Input passed to session data via the "products_id" parameter when adding a product to the shopping cart is not properly sanitised before it is used in a SQL query in shopping_cart.php. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities have been reported in version 2.2 Milestone 2 prior to Update 060817.
Solution: Update to version 2.2 Milestone 2 Update 060817.
Provided and/or discovered by: James Bercegay, GulfTech Security Research Team
Original Advisory: 1) http://www.gulftech.org/?node=research&article_id=00080-06102005
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 firstname.lastname@example.org
Subject: osCommerce 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.