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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2009-1151 PoC — phpMyAdmin setup.php脚本PHP代码注入漏洞

Source
Associated Vulnerability
Title:phpMyAdmin setup.php脚本PHP代码注入漏洞 (CVE-2009-1151)
Description:phpMyAdmin是用PHP编写的工具,用于通过WEB管理MySQL。 phpMyAdmin的Setup脚本用于生成配置。如果远程攻击者向该脚本提交了特制的POST请求的话,就可能在生成的config.inc.php配置文件中包含任意PHP代码。由于配置文件被保存到了服务器上,未经认证的远程攻击者可以利用这个漏洞执行任意PHP代码。
Description
Based on the x.pl exploit/loader script for CVE-2009-1151
Readme
This is an old perl scanner I found for the php my admin exploit that's from 2009. 
I got bored and figured I would practice perl and learn a bit about an older language and convert it to python. 
This is for educational purposes mostly because this exploit being well over a decade old I wouldn't suspect a large impact by any means from publishing. 
File Snapshot

[4.0K] /data/pocs/5b2a86ca695f2cd8382ff22debaf1f95a02b767b ├── [1.0K] LICENSE ├── [ 352] README.md └── [3.5K] x.py 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.