ID CVE-2016-7382
Summary For the NVIDIA Quadro, NVS, GeForce, and Tesla products, NVIDIA GPU Display Driver contains a vulnerability in the kernel mode layer (nvlddmkm.sys for Windows or nvidia.ko for Linux) handler where a missing permissions check may allow users to gain access to arbitrary physical memory, leading to an escalation of privileges.
References
Vulnerable Configurations
  • cpe:2.3:a:nvidia:gpu_driver:370.23
    cpe:2.3:a:nvidia:gpu_driver:370.23
  • cpe:2.3:a:nvidia:gpu_driver:367.44
    cpe:2.3:a:nvidia:gpu_driver:367.44
  • cpe:2.3:a:nvidia:gpu_driver:340.98
    cpe:2.3:a:nvidia:gpu_driver:340.98
  • cpe:2.3:a:nvidia:gpu_driver:304.131
    cpe:2.3:a:nvidia:gpu_driver:304.131
  • cpe:2.3:a:nvidia:gpu_driver:361.93.02
    cpe:2.3:a:nvidia:gpu_driver:361.93.02
  • cpe:2.3:a:nvidia:gpu_driver:367.54
    cpe:2.3:a:nvidia:gpu_driver:367.54
  • cpe:2.3:h:nvidia:tesla_k80
    cpe:2.3:h:nvidia:tesla_k80
  • cpe:2.3:h:nvidia:tesla_k40
    cpe:2.3:h:nvidia:tesla_k40
  • cpe:2.3:h:nvidia:tesla_m40
    cpe:2.3:h:nvidia:tesla_m40
  • cpe:2.3:h:nvidia:telsa_k80
    cpe:2.3:h:nvidia:telsa_k80
  • cpe:2.3:h:nvidia:tesla_k20x
    cpe:2.3:h:nvidia:tesla_k20x
  • cpe:2.3:h:nvidia:tesla_k20
    cpe:2.3:h:nvidia:tesla_k20
  • cpe:2.3:h:nvidia:tesla_k10
    cpe:2.3:h:nvidia:tesla_k10
  • cpe:2.3:h:nvidia:tesla_k8
    cpe:2.3:h:nvidia:tesla_k8
  • cpe:2.3:h:nvidia:tesla_c2075
    cpe:2.3:h:nvidia:tesla_c2075
  • cpe:2.3:h:nvidia:tesla_m2090
    cpe:2.3:h:nvidia:tesla_m2090
  • cpe:2.3:h:nvidia:tesla_m2075
    cpe:2.3:h:nvidia:tesla_m2075
  • cpe:2.3:h:nvidia:tesla_m2070
    cpe:2.3:h:nvidia:tesla_m2070
  • cpe:2.3:h:nvidia:tesla_m2050
    cpe:2.3:h:nvidia:tesla_m2050
  • cpe:2.3:h:nvidia:tesla_c2050
    cpe:2.3:h:nvidia:tesla_c2050
  • cpe:2.3:h:nvidia:tesla_c2070
    cpe:2.3:h:nvidia:tesla_c2070
  • cpe:2.3:h:nvidia:tesla_m6
    cpe:2.3:h:nvidia:tesla_m6
  • cpe:2.3:h:nvidia:tesla_m60
    cpe:2.3:h:nvidia:tesla_m60
  • cpe:2.3:h:nvidia:tesla_p4
    cpe:2.3:h:nvidia:tesla_p4
  • cpe:2.3:h:nvidia:tesla_p40
    cpe:2.3:h:nvidia:tesla_p40
  • cpe:2.3:h:nvidia:tesla_p100
    cpe:2.3:h:nvidia:tesla_p100
  • NVIDIA NVS 810
    cpe:2.3:h:nvidia:nvs_810
  • NVIDIA NVS 510
    cpe:2.3:h:nvidia:nvs_510
  • NVIDIA NVS 315
    cpe:2.3:h:nvidia:nvs_315
  • NVIDIA NVS 310
    cpe:2.3:h:nvidia:nvs_310
  • NVIDIA Titan X
    cpe:2.3:h:nvidia:titan_x
  • NVIDIA GeForce GTX 1080
    cpe:2.3:h:nvidia:geforce_gtx_1080
  • NVIDIA GeForce GTX 1070
    cpe:2.3:h:nvidia:geforce_gtx_1070
  • NVIDIA GeForce GTX 1060
    cpe:2.3:h:nvidia:geforce_gtx_1060
  • NVIDIA GeForce GTX 1050
    cpe:2.3:h:nvidia:geforce_gtx_1050
  • NVIDIA GeForce GTX 965M
    cpe:2.3:h:nvidia:geforce_gtx_965m
  • NVIDIA GeForce GTX 960M
    cpe:2.3:h:nvidia:geforce_gtx_960m
  • NVIDIA GeForce GTX 950M
    cpe:2.3:h:nvidia:geforce_gtx_950m
  • NVIDIA GeForce 945M
    cpe:2.3:h:nvidia:geforce_945m
  • NVIDIA GeForce 940MX
    cpe:2.3:h:nvidia:geforce_940mx
  • NVIDIA GeForce 940M
    cpe:2.3:h:nvidia:geforce_940m
  • NVIDIA GeForce 930MX
    cpe:2.3:h:nvidia:geforce_930mx
  • NVIDIA GeForce 930M
    cpe:2.3:h:nvidia:geforce_930m
  • NVIDIA GeForce 920MX
    cpe:2.3:h:nvidia:geforce_920mx
  • NVIDIA GeForce 920
    cpe:2.3:h:nvidia:geforce_920m
  • NVIDIA GeForce 910M
    cpe:2.3:h:nvidia:geforce_910m
  • NVIDIA GeForce GT 730
    cpe:2.3:h:nvidia:geforce_gt_730
  • NVIDIA GeForce GT 710
    cpe:2.3:h:nvidia:geforce_gt_710
  • NVIDIA Quadro M5500
    cpe:2.3:h:nvidia:quadro_m5500
  • NVIDIA Quadro M5000M
    cpe:2.3:h:nvidia:quadro_m5000m
  • NVIDIA Quadro M4000M
    cpe:2.3:h:nvidia:quadro_m4000m
  • NVIDIA Quadro M3000M
    cpe:2.3:h:nvidia:quadro_m3000m
  • NVIDIA Quadro M2000M
    cpe:2.3:h:nvidia:quadro_m2000m
  • NVIDIA Quadro M1000M
    cpe:2.3:h:nvidia:quadro_m1000m
  • NVIDIA Quadro M600M
    cpe:2.3:h:nvidia:quadro_m600m
  • NVIDIA Quadro M500M
    cpe:2.3:h:nvidia:quadro_m500m
  • NVIDIA Quadro P6000
    cpe:2.3:h:nvidia:quadro_p6000
  • NVIDIA Quadro M6000
    cpe:2.3:h:nvidia:quadro_m6000
  • NVIDIA Quadro P5000
    cpe:2.3:h:nvidia:quadro_p5000
  • NVIDIA Quadro M5000
    cpe:2.3:h:nvidia:quadro_m5000
  • NVIDIA Quadro M4000
    cpe:2.3:h:nvidia:quadro_m4000
  • NVIDIA Quadro M2000
    cpe:2.3:h:nvidia:quadro_m2000
  • NVIDIA Quadro K1200
    cpe:2.3:h:nvidia:quadro_k1200
  • NVIDIA Quadro K620
    cpe:2.3:h:nvidia:quadro_k620
  • NVIDIA Quadro K420
    cpe:2.3:h:nvidia:quadro_k420
CVSS
Base: 7.2 (as of 02-12-2016 - 10:26)
Impact:
Exploitability:
CWE CWE-275
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
nessus via4
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-3122-1.NASL
    description It was discovered that the NVIDIA graphics drivers incorrectly sanitized user mode inputs. A local attacker could use this issue to possibly gain root privileges. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 94573
    published 2016-11-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=94573
    title Ubuntu 12.04 LTS / 14.04 LTS / 16.04 LTS : nvidia-graphics-drivers-304, nvidia-graphics-drivers-340, nvidia-graphics-drivers-367 vulnerability (USN-3122-1)
  • NASL family Windows
    NASL id NVIDIA_WIN_CVE_2016_7389.NASL
    description The version of the NVIDIA GPU display driver installed on the remote Windows host is 340.x, 341.x, or 342.x prior to 342.00, or 375.x prior to 375.63. It is, therefore, affected by multiple vulnerabilities : - An array-indexing error exists in nvlddmkm.sys due to improper validation of input. A local attacker can exploit this to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-7381) - A flaw exists in nvlddmkm.sys due to missing permission checks. A local attacker can exploit this to disclose arbitrary memory contents and gain elevated privileges. (CVE-2016-7382) - A flaw exists in nvlddmkm.sys when handling memory mapping that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-7383) - A flaw exists in nvlddmkm.sys when handling UVMLiteController device IO control input and output lengths. A local attacker can exploit this to execute arbitrary code with elevated privileges. (CVE-2016-7384) - An untrusted pointer dereference flaw exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x700010d. A local attacker can exploit this to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-7385) - A flaw exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x70000d4 that allows a local attacker to disclose uninitialized memory contents. (CVE-2016-7386) - A flaw exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x600000d that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-7387) - A NULL pointer dereference flaw exists in nvlddmkm.sys that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges in certain unsafe configurations. (CVE-2016-7388) - An array-indexing error exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x7000194 that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-7390) - A flaw exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x100010b that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-7391) - A flaw exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x7000014 that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-8805) - An untrusted pointer dereference flaw exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x5000027 that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-8806) - A stack-based buffer overflow condition exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x10000e9 that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-8807) - A buffer overflow condition exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x70000d that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-8808) - A buffer overflow condition exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x70001b2 that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-8809) - A buffer overflow condition exists in nvlddmkm.sys when handling DxgDdiEscape ID 0x100009a that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-8810) - A flaw exists in nvlddmkm.sys driver when handling DxgDdiEscape ID 0x7000170 that allows a local attacker to cause a denial of service condition or the execution of arbitrary code with elevated privileges. (CVE-2016-8811) - A stack-based overflow condition exists in nvstreamkms.sys when handling executable paths. A local attacker can exploit this to execute arbitrary code with elevated privileges. Note that this vulnerability only affects systems that also have GeForce Experience software installed. (CVE-2016-8812)
    last seen 2019-02-21
    modified 2018-07-16
    plugin id 94576
    published 2016-11-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=94576
    title NVIDIA Windows GPU Display Driver 340.x / 341.x / 342.x < 342.00 / 375.x < 375.63 Multiple Vulnerabilities
  • NASL family Misc.
    NASL id NVIDIA_UNIX_CVE_2016_7389.NASL
    description The version of the NVIDIA GPU display driver installed on the remote Linux host is 304.x prior to 304.132, 340.x prior to 340.98, 361.93.x prior to 361.93.03, 367.x prior to 367.55, or 370.x prior to 370.28. It is, therefore, affected by multiple vulnerabilities : - A flaw exists in the kernel-mode layer (nvidia.ko) handler related to missing permission checks. A local attacker can exploit this to disclose arbitrary memory contents and gain elevated privileges. (CVE-2016-7382) - A flaw exists in the kernel-mode layer (nvidia.ko) handler related to improper memory mapping. A local attacker can exploit this to disclose arbitrary memory contents and gain elevated privileges. (CVE-2016-7389)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 94575
    published 2016-11-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=94575
    title NVIDIA Linux GPU Display Driver 304.x < 304.132 / 340.x < 340.98 / 361.93.x < 361.93.03 / 367.x < 367.55 / 370.x < 370.28 Multiple Vulnerabilities
refmap via4
bid 94177
confirm
Last major update 19-01-2017 - 21:59
Published 08-11-2016 - 15:59
Back to Top