Rapid7 Vulnerability & Exploit Database

Nvidia (nvsvc) Display Driver Service Local Privilege Escalation

Back to Search

Nvidia (nvsvc) Display Driver Service Local Privilege Escalation

Disclosed
12/25/2012
Created
05/30/2018

Description

The named pipe, \pipe\nsvr, has a NULL DACL allowing any authenticated user to interact with the service. It contains a stacked based buffer overflow as a result of a memmove operation. Note the slight spelling differences: the executable is 'nvvsvc.exe', the service name is 'nvsvc', and the named pipe is 'nsvr'. This exploit automatically targets nvvsvc.exe versions dated Nov 3 2011, Aug 30 2012, and Dec 1 2012. It has been tested on Windows 7 64-bit against nvvsvc.exe dated Dec 1 2012.

Author(s)

  • Peter Wintersmith
  • Ben Campbell <eat_meatballs@hotmail.co.uk>

Platform

Windows

Architectures

x64

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/local/nvidia_nvsvc
msf exploit(nvidia_nvsvc) > show targets
    ...targets...
msf exploit(nvidia_nvsvc) > set TARGET < target-id >
msf exploit(nvidia_nvsvc) > show options
    ...show and set options...
msf exploit(nvidia_nvsvc) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;