关联漏洞
标题:
Oracle MySQL 远程代码执行漏洞/提权漏洞
(CVE-2016-6662)
描述:Oracle MySQL是美国甲骨文(Oracle)公司的一套开源的关系数据库管理系统。该数据库系统具有性能高、成本低、可靠性好等特点。 Oracle MySQL中的配置文件(my.cnf)存在远程代码执行漏洞。攻击者(本地或远程)可通过授权访问MySQL数据库(网络连接或类似phpMyAdmin的Web接口)或SQL注入方式,利用该漏洞向配置文件中注入恶意的数据库配置,导致以root权限执行任意代码,完全控制受影响的服务器。以下版本受到影响:Oracle MySQL 5.5.52及之前的版本,5.6.x
介绍
## About
Some help to explot CVE-2016-6662
## Warnings
Make sure to change the attacker IP in the c file before compiling
## Credit
All credit to original discoverer.
Writeups here:
http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html
Discussion here:
https://www.reddit.com/r/netsec/comments/52dgxh/mysql_remote_root_code_execution_privilege/
Files originally hosted here:
https://legalhackers.com/exploits/CVE-2016-6662/0ldSQL_MySQL_RCE_exploit.py
http://legalhackers.com/exploits/mysql_hookandroot_lib.c
文件快照
[4.0K] /data/pocs/564e0bde49892489b1cb7bae810566bab6cee724
├── [ 10K] 0ldSQL_MySQL_RCE_exploit.py
├── [ 305] Makefile
├── [ 145] mysql_hookandroot.c
├── [3.6K] mysql_hookandroot_lib.c
├── [ 26] mysql_hookandroot_lib.h
└── [ 565] README.md
0 directories, 6 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。