Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2021-39172 EUVD-2021-1662GHSA-9jxw-cfrh-jxq6

New line injection during configuration edition

Published Aug 27, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
fiveai Cachet < 2.5.1 —

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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist cachethq/cachet < 2.5.1 2.5.1 GHSA-9jxw-cfrh-jxq6

References