In breve
- CVE-2021-39174 è una vulnerabilità ALTO (CVSS 8.8) che riguarda cachethq/cachet, catchet (catchethq).
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 5.0%, superiore al 92.2% delle vulnerabilità.
- Correzione: aggiornare a 2.5.1 o successiva.
Description
Impact
Authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (APP_KEY) and various passwords (email, database, etc).
Patches
This issue was addressed by improving UpdateConfigCommandHandler and preventing the use of nested variables in the resulting dotenv configuration file.
Workarounds
Only allow trusted source IP addresses to access to the administration dashboard.
References
Further technical details are available at https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection.
For more information
If you have any questions or comments about this advisory, you can contact:
- The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;
- The maintainers, by opening an issue on this repository.
NVD 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 leak the value of any configuration entry of the dotenv file, e.g. the application secret (`APP_KEY`) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free