CVE-2021-39165
Unauthenticated SQL Injection
Record summary
CVE-2021-39165 has a selected CVSS score of 8.1 (high); EIP currently links 2 repository PoCs and 1 Nuclei template.
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.
Exploitation context
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
CachetBrowse fiveai / Cachet | CVE List | <= 2.3.18 | affected |
cachethq/cachetBrowse Packagist / cachethq/cachet | GitHub Advisory | Through 2.3.18 | affected |
Proofs of concept
2Repository PoCs
GitHubW0rty/CVE-2021-39165Repository PoCby W0rtyStars: 21Not analyzed3 files
GitHubmanbolq/CVE-2021-39165Repository PoCby manbolqStars: 0Not analyzed3 files
Nuclei templates
1ProjectDiscoveryMEDIUMCachet <=2.3.18 - SQL InjectionCVSS 6.5
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.
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.
Source: ProjectDiscovery