CVE-2021-39172
HIGHCachet <2.5.1 - Authenticated Code Execution via Configuration Newline Injection
Title source: manualExploitation Summary
EIP tracks 1 public exploit for CVE-2021-39172. PoCs published by W1ngLess.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2021-39172, which achieves remote code execution in Cachet 2.4 via Laravel configuration injection and Redis manipulation. The exploit authenticates, injects malicious configuration, and triggers a reverse shell.
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.
Exploits (1)
This repository contains a functional exploit for CVE-2021-39172, which achieves remote code execution in Cachet 2.4 via Laravel configuration injection and Redis manipulation. The exploit authenticates, injects malicious configuration, and triggers a reverse shell.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H