# N/A
## 漏洞概述
phpMyAdmin 4.8.x版本(早于4.8.2)中存在一个安全问题,允许攻击者查看和潜在执行服务器上的文件。此漏洞源于代码中页面重定向和加载的处理,以及对白名单页面的不适当检查。
## 影响版本
phpMyAdmin 4.8.x 版本 (早于 4.8.2)
## 漏洞细节
1. 攻击者可以利用此漏洞查看和执行服务器上的文件。
2. 漏洞源于页面重定向和加载过程中的代码部分,以及对白名单页面的不适当测试。
3. 攻击者需要进行身份验证,除非存在以下情况:
- `"$cfg['AllowArbitraryServer'] = true"`:攻击者可以指定任何已控制的主机,执行任意代码。
- `"$cfg['ServerDefault'] = 0"`:绕过登录要求,无需认证即可执行漏洞代码。
## 影响
此漏洞允许未经授权的人员查看和执行服务器上的文件,可能导致敏感信息泄露和任意代码执行。
# | POC 描述 | 源链接 | 神龙链接 |
---|---|---|---|
1 | PHPMyAdmin v4.8.0 and v.4.8.1 LFI exploit | https://github.com/0x00-0x00/CVE-2018-12613 | POC详情 |
2 | Modified standalone exploit ported for Python 3 | https://github.com/ivanitlearning/CVE-2018-12613 | POC详情 |
3 | 这篇文章将分享一个phpMyAdmin 4.8.1版本的文件包含漏洞,从配置到原理,再到漏洞复现进行讲解,更重要的是让大家了解这些真实漏洞背后的知识。基础性文章,希望对您有所帮助! | https://github.com/eastmountyxz/CVE-2018-12613-phpMyAdmin | POC详情 |
4 | PhpMyAdmin before version 4.8.2 is susceptible to local file inclusion that allows an attacker to include (view and potentially execute) files on the server. The vulnerability comes from a portion of code where pages are redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be authenticated, except in the "$cfg['AllowArbitraryServer'] = true" case (where an attacker can specify any host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the "$cfg['ServerDefault'] = 0" case (which bypasses the login requirement and runs the vulnerable code without any authentication). | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-12613.yaml | POC详情 |
5 | None | https://github.com/chaitin/xray-plugins/blob/main/poc/manual/phpmyadmin-cve-2018-12613-file-inclusion.yml | POC详情 |
6 | https://github.com/vulhub/vulhub/blob/master/phpmyadmin/CVE-2018-12613/README.md | POC详情 |
暂无评论