Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fiveai | Cachet | <= 2.3.18 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
W0rty/CVE-2021-39165 ★ 21 · Mar 15, 2022
Github repository which contains a functional exploit for CVE-2021-39165
-
manbolq/CVE-2021-39165 ★ 0 · Sep 20, 2023
Python3 POC for CVE-2021-39165 in CachetHQ
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Cachet <=2.3.18 - SQL Injection http/cves/2021/CVE-2021-39165.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | cachethq/cachet | <= 2.3.18 | — | GHSA-79mg-4w23-4fqc |