CVE-2019-19774 : Detail

CVE-2019-19774

8.8
/
High
4.29%V3
Network
2019-12-13
17h00 +00:00
2020-02-24
09h06 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

An issue was discovered in Zoho ManageEngine EventLog Analyzer 10.0 SP1 before Build 12110. By running "select hostdetails from hostdetails" at the /event/runquery.do endpoint, it is possible to bypass the security restrictions that prevent even administrative users from viewing credential data stored in the database, and recover the MD5 hashes of the accounts used to authenticate the ManageEngine platform to the managed machines on the network (most often administrative accounts). Specifically, this bypasses these restrictions: a query cannot mention password, and a query result cannot have a password column.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE Other No informations.

Metrics

Metrics Score Severity CVSS Vector Source
V3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/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.

Low

The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.

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.

[email protected]
V2 4 AV:N/AC:L/Au:S/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 : 48119

Publication date : 2020-02-23 23h00 +00:00
Author : Scott Goodwin
EDB Verified : No

# Exploit Title: ManageEngine EventLog Analyzer 10.0 - Information Disclosure # Date: 2020-02-23 # Author:Scott Goodwin # Vendor: https://www.manageengine.com/ # Software Link: https://www.manageengine.com/products/eventlog/ # CVE: CVE-2019-19774 Vulnerability Name: Authenticated Information Disclosure in ManageEngine EventLog Analyzer Registered: CVE-2019-19774 Discoverer: Scott Goodwin, OSCP OCD Tech Vendor of Product: ManageEngine Affected Product Code Base: EventLog Analyzer - 10.0 SP1 Affected Component: Affected ManageEngine endpoint: http://exampleclient:8400/event/runquery.do This endpoint allows the ManageEngine user to execute commands against the ManageEngine PostgreSQL database. Attack Type: Remote Vulnerability Type: Incorrect Access Control Vulnerability Impact: Authenticated Information Disclosure Attack Vector: To exploit the vulnerability, an authenticated user must execute a specially crafted query against the ManageEngine database to bypass the built-in security controls and extract credential data. Vulnerability Description: An issue was discovered in Zoho ManageEngine EventLog Analyzer 10.0 SP1. By running "select hostdetails from hostdetails" at the /event/runquery.do endpoint, it is possible to bypass the security restrictions that prevent even administrative users from viewing credential data stored in the database, and recover the MD5 hashes of the accounts used to authenticate the ManageEngine platform to the managed machines on the network (most often administrative accounts). Specifically, this bypasses the following restrictions: a query cannot mention "password", and a query result cannot have a "password" column. PoC: Run the database query: "select hostdetails from hostdetails" at the /event/runquery.do endpoint Reporting Timeline: 10/30/2019: This vulnerability was reported to ManageEngine via the Zoho/ManageEngine Bug Bounty program. They acknowledged the initial report. 12/12/2019: Vulnerability registered 12/13/2019: Vulnerability acknowledged and update (12110) made available to ManageEngine customers. 12/13/2019: Public disclosure Additional Information: This query bypasses the following security restrictions implemented within Manage Engine: 1. restrictions on queries that include the word "password". This query will output the value stored in the "password" field, without the word "password" actually appearing in the query. If the query contains the word "password" Manage Engine will not execute the query. 2. restrictions on printing the password field to the screen in a column called "password". If the results of the query include a columncalled "password", Manage Engine will mask the password with a series of asterisks "". This query will output the entire contents of the table, without formatting is as a table within the web interface, which leads to bypass of this security control. Remediated Product Version: ManageEngine EventLog Analyzer Build 12110 Reference: https://www.manageengine.com/products/eventlog/ https://www.manageengine.com/products/eventlog/features-new.html#release https://gist.github.com/scottgoodwin90/19ccecdc9f5733c0a9381765cfc7fe39 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19774 https://ocd-tech.com

Products Mentioned

Configuraton 0

Zohocorp>>Manageengine_eventlog_analyzer >> Version From (including) 10.0 To (excluding) 12.1.1

References