TUCoPS :: Web :: e-commerce, shopping carts :: b06-3735.htm

AFCommerce Shopping Cart
AFCommerce Shopping Cart
AFCommerce Shopping Cart



The 'Demo Store' version of the AFCommerce Shopping Cart (www.afcommerce.com) is vulnerable to both SQL Injection and Cross Site Scripting (XSS).=0D 
=0D
SQL Injection can be tested by inserting the classic 'or 1=1-- into the search field.  The result is that the first record is returned.  We can also perform a UNION to return all the records.=0D
=0D
The XSS vulnerability can be tested by registering as a new user and selecting to add a new review to a product.  In the 'new review' text box we can insert some text such as:=0D
=0D
   some text=0D
=0D
With this text inserted we can view the product and select 'reviews'.  Upon doing this our Alert box is executed with 'xxx' then the page is displayed with the 'some text' being displayed as bold.  =0D
=0D
This are only simple example to test for these vulnerabilites.  An attacker could take full advantage of these two vulnerabilities to attack the database, include malicious code or deface the site.

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH