Rapid7 Vulnerability & Exploit Database

Linux udev Netlink Local Privilege Escalation

Back to Search

Linux udev Netlink Local Privilege Escalation

Disclosed
04/16/2009
Created
05/30/2018

Description

Versions of udev < 1.4.1 do not verify that netlink messages are coming from the kernel. This allows local users to gain privileges by sending netlink messages from userland.

Author(s)

  • kcope
  • Jon Oberheide
  • egypt <egypt@metasploit.com>

Platform

Linux

Architectures

x86, 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/linux/local/udev_netlink
msf exploit(udev_netlink) > show targets
    ...targets...
msf exploit(udev_netlink) > set TARGET < target-id >
msf exploit(udev_netlink) > show options
    ...show and set options...
msf exploit(udev_netlink) > 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

;