CVE-2021-39173 Forced reinstall
Authenticated users can bypass installation checks to reinstall the system, leading to arbitrary code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-39173?
CVE-2021-39173 is a high-severity vulnerability in fiveai Cachet, published on 27 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.
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 trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.
Weakness: CWE-704
Which versions are affected by CVE-2021-39173?
2 open source packages ship an affected version, including cachethq/cachet. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
cachethq/cachet Packagist | All versions | 2.5.1 |
cachethq/cachet Packagist | All versions | 2.5.1 |
Products include Catchethq Catchet.
How do I fix CVE-2021-39173?
Upgrade cachethq/cachet to 2.5.1 or later.
Is CVE-2021-39173 being exploited?
There is no known exploitation of CVE-2021-39173 in the wild and no public exploit code.
Other vulnerabilities in fiveai Cachet
Sources
Also known as GHSA-r67m-m8c7-jp83.