Rapid7 Vulnerability & Exploit Database

Reliable Datagram Sockets (RDS) rds_page_copy_user Privilege Escalation

Back to Search

Reliable Datagram Sockets (RDS) rds_page_copy_user Privilege Escalation

Disclosed
10/20/2010
Created
12/22/2019

Description

This module exploits a vulnerability in the `rds_page_copy_user` function in `net/rds/page.c` (RDS) in Linux kernel versions 2.6.30 to 2.6.36-rc8 to execute code as root (CVE-2010-3904). This module has been tested successfully on: Fedora 13 (i686) kernel version 2.6.33.3-85.fc13.i686.PAE; and Ubuntu 10.04 (x86_64) with kernel version 2.6.32-21-generic.

Author(s)

  • Dan Rosenberg
  • bcoles <bcoles@gmail.com>

Platform

Linux

Architectures

x86, x64

Development

References

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/rds_rds_page_copy_user_priv_esc
msf exploit(rds_rds_page_copy_user_priv_esc) > show targets
    ...targets...
msf exploit(rds_rds_page_copy_user_priv_esc) > set TARGET < target-id >
msf exploit(rds_rds_page_copy_user_priv_esc) > show options
    ...show and set options...
msf exploit(rds_rds_page_copy_user_priv_esc) > 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

;