AFCommerce Shopping Cart

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1053181 漏洞类型
发布时间 2006-07-25 更新时间 2006-07-25
CVE编号 CVE-2006-3800
CVE-2006-3794
CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2006070092
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
The 'Demo Store' version of the AFCommerce Shopping Cart (www.afcommerce.com) is vulnerable to both SQL Injection and Cross Site Scripting (XSS).

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.

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:

<b>some text</b><script>alert("xxx")</script>

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.

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.