Skip to content

CVE-2021-39172 New line injection during configuration edition

HighCVSS 8.8 EPSS 29.2%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
cachethq/cachet(Packagist) < 2.5.1; = v0.1.0-alpha; = v1.0.0; = v1.1.0 +53 more 2.5.1 Fixed
catchethq catchet < 2.5.1 2.5.1 Fixed
fiveai Cachet = < 2.5.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cachethq/cachet(Packagist) < 2.5.1 2.5.1
cachethq/cachet(Packagist) = v0.1.0-alpha No fix listed
cachethq/cachet(Packagist) = v1.0.0 No fix listed
cachethq/cachet(Packagist) = v1.1.0 No fix listed
cachethq/cachet(Packagist) = v1.1.1 No fix listed
cachethq/cachet(Packagist) = v1.2.0 No fix listed
cachethq/cachet(Packagist) = v1.2.1 No fix listed
cachethq/cachet(Packagist) = v2.0.0 No fix listed
cachethq/cachet(Packagist) = v2.0.0-RC1 No fix listed
cachethq/cachet(Packagist) = v2.0.0-RC2 No fix listed
cachethq/cachet(Packagist) = v2.0.0-RC3 No fix listed
cachethq/cachet(Packagist) = v2.0.0-RC4 No fix listed
cachethq/cachet(Packagist) = v2.0.0-RC5 No fix listed
cachethq/cachet(Packagist) = v2.0.0-beta1 No fix listed
cachethq/cachet(Packagist) = v2.0.0-beta2 No fix listed
cachethq/cachet(Packagist) = v2.0.1 No fix listed
cachethq/cachet(Packagist) = v2.0.2 No fix listed
cachethq/cachet(Packagist) = v2.0.3 No fix listed
cachethq/cachet(Packagist) = v2.0.4 No fix listed
cachethq/cachet(Packagist) = v2.1.0 No fix listed
cachethq/cachet(Packagist) = v2.1.0-RC1 No fix listed
cachethq/cachet(Packagist) = v2.1.0-RC2 No fix listed
cachethq/cachet(Packagist) = v2.1.1 No fix listed
cachethq/cachet(Packagist) = v2.1.2 No fix listed
cachethq/cachet(Packagist) = v2.2.0 No fix listed
Show 34 more
ProductAffected versionsFixed in
cachethq/cachet(Packagist) = v2.2.0-RC1 No fix listed
cachethq/cachet(Packagist) = v2.2.1 No fix listed
cachethq/cachet(Packagist) = v2.2.2 No fix listed
cachethq/cachet(Packagist) = v2.2.3 No fix listed
cachethq/cachet(Packagist) = v2.2.4 No fix listed
cachethq/cachet(Packagist) = v2.3.0 No fix listed
cachethq/cachet(Packagist) = v2.3.0-RC1 No fix listed
cachethq/cachet(Packagist) = v2.3.0-RC2 No fix listed
cachethq/cachet(Packagist) = v2.3.0-RC3 No fix listed
cachethq/cachet(Packagist) = v2.3.0-RC4 No fix listed
cachethq/cachet(Packagist) = v2.3.0-RC5 No fix listed
cachethq/cachet(Packagist) = v2.3.0-RC6 No fix listed
cachethq/cachet(Packagist) = v2.3.1 No fix listed
cachethq/cachet(Packagist) = v2.3.10 No fix listed
cachethq/cachet(Packagist) = v2.3.11 No fix listed
cachethq/cachet(Packagist) = v2.3.12 No fix listed
cachethq/cachet(Packagist) = v2.3.13 No fix listed
cachethq/cachet(Packagist) = v2.3.14 No fix listed
cachethq/cachet(Packagist) = v2.3.15 No fix listed
cachethq/cachet(Packagist) = v2.3.16 No fix listed
cachethq/cachet(Packagist) = v2.3.17 No fix listed
cachethq/cachet(Packagist) = v2.3.18 No fix listed
cachethq/cachet(Packagist) = v2.3.2 No fix listed
cachethq/cachet(Packagist) = v2.3.3 No fix listed
cachethq/cachet(Packagist) = v2.3.4 No fix listed
cachethq/cachet(Packagist) = v2.3.5 No fix listed
cachethq/cachet(Packagist) = v2.3.6 No fix listed
cachethq/cachet(Packagist) = v2.3.7 No fix listed
cachethq/cachet(Packagist) = v2.3.8 No fix listed
cachethq/cachet(Packagist) = v2.3.9 No fix listed
cachethq/cachet(Packagist) = v2.4.0 No fix listed
cachethq/cachet(Packagist) = v2.4.1 No fix listed
catchethq catchet < 2.5.1 2.5.1
fiveai Cachet = < 2.5.1 No fix listed

References