Lucene search
K

MyBB KingChat Plugin - SQL Injection

🗓️ 03 Dec 2012 00:00:00Reported by Red_HatType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 17 Views

MyBB KingChat Plugin SQL Injection 0da

Code
# Exploit Title: KingChat MyBB plugin SQL Injection 0day
# Google Dork: inurl:"kingchat.php"
# Date: 13.10.2012
# Exploit Author: Red_Hat [NullSec]
# Software Link: http://mods.mybb.com/view/kingchat
# Tested on: Windows & Linux.

Vulnerable code :

<?php
	$username=$_GET['username'];
	$uid=$_GET['uid'];
	$text=$_GET['text'];

					$users=$db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE username='$username'");
					$users_info=$db->fetch_array($users);
					$users_num=$db->num_rows($users);
					$fusername=$users_info['uid'];
?>

The variable '$username' remains unsanitized.

Usage : http://www.site.com/kingchat.php?send=Red_Hat&username=[SQLi]

Shoutout to Zixem <3 & NullSec :3

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

03 Dec 2012 00:00Current
7.4High risk
Vulners AI Score7.4
17