Vulnerability · Published Aug 27, 2021 · Assigned by GitHub_M

CVE-2021-39172New line injection during configuration edition

High 8.8

In plain English

A high-severity security flaw in Cachet from fiveai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 29.2% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)29.2%top 1.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can exploit a new line injection in the configuration edition feature (e.g. mail settings) and gain arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of new lines characters in new configuration values. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistcachethq/cachet2.5.1GHSA-9jxw-cfrh-jxq6

Affected products (as reported)

VendorProductVersions
fiveai Cachet < 2.5.1

Weakness: CWE-93 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References