Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Bugtraq
[Top] [All Lists]

Vulnerability - cpCommerce - XSS

Subject: Vulnerability - cpCommerce - XSS
Date: 25 May 2007 14:04:18 -0000
cpcommerce is a FOSS php-based e-commerce (shopping cart) web application. 

Exploit: Javascript placed inside a user's "Full Name:" field will not be 
stripped - it will be added to the database 'as-is' as long as it has no 
quotations in the string. When the admin goes to the clients view page, the 
javascript is executed as the rogue client's name appears. 

Gravity: The attacker can potentially fetch the admin's cookie or do a vast 
amount of other things.

Complication: This is very trivial to reproduce. Anyone with experience coding 
javascript can presently take advantage of the admin account of any unpatched 
cpcommerce shopping cart.

This is only one aspect of this cross-site scripting vulnerability. I still 
have yet to test other parts of my site which have user-inputted information 
such as product reviews and order forms.

I tested this with 1.1.0 (the latest version) - the OS is debian etch running 
apache2, php5 and mysql5. I suspect that earlier versions of cpcommerce are 
most likely also vulnerable.

<Prev in Thread] Current Thread [Next in Thread>
  • Vulnerability - cpCommerce - XSS, jadoba <=