一、 漏洞 CVE-2009-1151 基础信息
漏洞信息
                                        # N/A

## 漏洞概述
phpMyAdmin 中的 setup.php 文件存在静态代码注入漏洞,允许远程攻击者通过 `save` 操作将任意 PHP 代码注入配置文件中。

## 影响版本
- phpMyAdmin 2.11.x 之前版本 2.11.9.5
- phpMyAdmin 3.x 之前版本 3.1.3.1

## 漏洞细节
该漏洞存在于 phpMyAdmin 的 setup.php 文件中,攻击者可以通过 `save` 操作将任意 PHP 代码注入到配置文件中,从而控制服务器。

## 漏洞影响
成功利用此漏洞,攻击者可以在配置文件中注入任意 PHP 代码,导致服务器被远程控制,可能造成数据泄露、篡改等严重后果。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
N/A
来源:美国国家漏洞数据库 NVD
漏洞描述信息
Static code injection vulnerability in setup.php in phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 allows remote attackers to inject arbitrary PHP code into a configuration file via the save action.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
phpMyAdmin setup.php脚本PHP代码注入漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
phpMyAdmin是用PHP编写的工具,用于通过WEB管理MySQL。 phpMyAdmin的Setup脚本用于生成配置。如果远程攻击者向该脚本提交了特制的POST请求的话,就可能在生成的config.inc.php配置文件中包含任意PHP代码。由于配置文件被保存到了服务器上,未经认证的远程攻击者可以利用这个漏洞执行任意PHP代码。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
代码注入
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2009-1151 的公开POC
# POC 描述 源链接 神龙链接
1 phpMyAdmin '/scripts/setup.php' PHP Code Injection RCE PoC (CVE-2009-1151) https://github.com/adpast/pocs POC详情
2 phpMyAdmin '/scripts/setup.php' PHP Code Injection RCE PoC (CVE-2009-1151) https://github.com/pagvac/pocs POC详情
3 Based on the x.pl exploit/loader script for CVE-2009-1151 https://github.com/ItaIia/PhpMyAdmin POC详情
4 Based on the x.pl exploit/loader script for CVE-2009-1151 https://github.com/e-Thug/PhpMyAdmin POC详情
5 CVE-2009-1151, phpMyAdmin의 set.up https://github.com/mr-won/ZmEu POC详情
6 PhpMyAdmin Scripts 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 are susceptible to a remote code execution in setup.php that allows remote attackers to inject arbitrary PHP code into a configuration file via the save action. Combined with the ability to save files on server, this can allow unauthenticated users to execute arbitrary PHP code. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2009/CVE-2009-1151.yaml POC详情
7 CVE-2009-1151, phpMyAdmin의 set.up https://github.com/user20252228/ZmEu POC详情
三、漏洞 CVE-2009-1151 的情报信息