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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-56145 PoC — RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms

Source
Associated Vulnerability
Title:RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms (CVE-2024-56145)
Description:Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected versions are affected by this vulnerability if their php.ini configuration has `register_argc_argv` enabled. For these users an unspecified remote code execution vector is present. Users are advised to update to version 3.9.14, 4.13.2, or 5.5.2. Users unable to upgrade should disable `register_argc_argv` to mitigate the issue.
Description
CVE-2024-56145 SSTI to RCE - twig templates 
Readme
#### before you run script again do 

```fuser -k 6666/tcp```

### usage -

```python3 poc.py -f targets.txt -i 127.0.0.1 -pr 4 -t 200```

Custom command can be used like ```python3 poc.py -f targets.txt -i 127.0.0.1 -c "whoami"```

```-i``` is your IP or your vps IP (use that by doing ipconfig / ifconfig.

Like - ```python3 poc.py -f targets.txt -i 165.22.104.140 -pr 4 -t 200```


Written By 
Chirag Artani (https://x.com/Chirag99Artani)
File Snapshot

[4.0K] /data/pocs/0dfcfd5108091ad91a4287776c904d0a6878edbc ├── [9.7K] poc.py └── [ 442] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
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 →