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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2012-1823 PoC — PHP ‘php-cgi’ 参数信息泄漏漏洞

Source
Associated Vulnerability
Title:PHP ‘php-cgi’ 参数信息泄漏漏洞 (CVE-2012-1823)
Description:sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
Description
First script, pgp-cgi-cve-2012-1823 BASH script
File Snapshot

[4.0K] /data/pocs/0c14c6d73b3339feccc0f86b032d29c3d1ee79fc ├── [4.0K] assembly │   ├── [1.9K] Assembly Cheat sheet (Intel x86) │   ├── [4.0K] Puppet Basics │   │   └── [3.9K] Puppet Master Basics │   └── [2.6K] x86 Process Memory Space Structure ├── [4.0K] Basic_HTTP_Scripts_Python │   ├── [ 446] HTTP_GET_httplib.py │   ├── [ 459] HTTP_GET_urllib.py │   ├── [ 443] HTTP_HEAD_httplib.py │   └── [ 433] HTTP_OPTIONS_httplib.py ├── [4.0K] blackhatpython │   ├── [2.1K] simplePyCat.py │   ├── [ 571] simpleTCPclient.py │   ├── [1.5K] simpleTCPserver.py │   └── [ 434] simpleUDPclient.py ├── [4.0K] Checklists │   └── [5.1K] Playbook Checklist ├── [4.0K] CustomScripts │   ├── [ 469] shellEnum.py │   ├── [ 68] Target:192.168.1.82_Date:17_02_2016@14:53:23 │   ├── [ 68] Target:192.168.1.82_Date:17_02_2016@14:55:03 │   └── [ 68] Target:192.168.1.82_Date:17_02_2016@14:55:09 ├── [ 838] dirbust_wordlist_gen.py ├── [2.1K] jwt_tamper.py ├── [4.0K] php-cgi-CVE-2012-1823 │   └── [1.2K] pgp-cgi-cve-2012-1823.bash.txt └── [4.0K] violent-python └── [2.9K] vuln-scan.py 8 directories, 20 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 →