Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-39172 PoC — New line injection during configuration edition

Source
Associated Vulnerability
Title: New line injection during configuration edition (CVE-2021-39172)
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.
Description
Cachet 2.4 Code Execution via Laravel Configuration Injection CVE-2021-39172
Readme
# CVE-2021-39172
Cachet 2.4: Code Execution via Laravel Configuration Injection

blog post about the vulnerability 
https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/


you can use this for ctf or just for learning
have fun and May God bless you all
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →