LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39165: Unauthenticated SQL Injection

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.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Cachet status page installations up to 2.3.18 can expose database contents through a SQL injection in search logic. The sources say unauthenticated attackers may steal sensitive data, including administrator passwords and sessions. Treat exposed Cachet sites as high-priority because status pages are commonly internet-facing.

Executive priority

Prioritize remediation for public Cachet instances because successful exploitation could expose administrative credentials and session data from the status page database. Absence from KEV lowers certainty about active exploitation, not impact.

Technical view

The issue is a SQL injection in SearchableTrait#scopeSearch() affecting Cachet <=2.3.18 and the 2.4 development branch. The CVE lists CWE-89 and CWE-287 with CVSS 8.1. The provided description says unauthenticated access is possible, while the vector shows PR:L; validate exposure against the advisory.

Likely exposure

Organizations running Cachet status pages, especially public internet-facing instances, are the likely exposure group. The bundle identifies fiveai Cachet <=2.3.18 as affected and notes the original CachetHQ repository is inactive.

Exploitation context

The source bundle does not show CISA KEV listing or cited active exploitation. Public advisory language indicates attackers can exfiltrate database data, including administrator password and session information, but no exploit status is established here.

Researcher notes

Evidence is strong for affected component, version range, and impact, but incomplete on active exploitation and final maintained release availability. Note the inconsistency between unauthenticated description and CVSS PR:L when scoring local exposure.

Mitigation direction

  • Inventory all Cachet deployments and identify versions <=2.3.18.
  • Review the fiveai advisory and referenced commit for the authoritative fix path.
  • Apply a maintained patched version or the referenced fix where appropriate.
  • Restrict public access to affected Cachet instances until remediated.
  • Rotate administrator credentials and sessions if exposure is suspected.

Validation and detection

  • Confirm whether any Cachet instance is internet-facing.
  • Verify installed Cachet version and fork lineage against affected versions.
  • Check whether SearchableTrait#scopeSearch() includes the referenced fix.
  • Review application and database logs for unusual search-related access.
  • Confirm credential and session rotation after suspected database exposure.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-287: Credential and account abuse lookup

Authentication and credential weaknesses can make valid-account abuse and credential telemetry useful review starting points. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-39165 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N2.85.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2021-39165Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
fiveaiCachet<= 2.3.18Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.