Android get_user/put_user Exploit

zetlyn/cve-metasploit exploit cve CVE-2013-6282 known 2013-09-06

https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/android/local/put_user_vroot.rb

Properties

platformAndroid,Linux
receipt
Source
Metasploit exploit modules
Its words
Android,Linux
Read by
field:platform
Said since
2026-09-28 11:44 UTC
Last answered
2026-10-04 21:06 UTC
Original
open at the source
What the source handed over
{
  "actions": [],
  "aliases": [],
  "arch": "",
  "author": [
    "fi01",
    "cubeundcube",
    "timwr"
  ],
  "autofilter_ports": [],
  "autofilter_services": [],
  "check": false,
  "default_credential": false,
  "description": "This module exploits a missing check in the get_user and put_user API functions\n          in the linux kernel before 3.5.5. The missing checks on these functions\n          allow an unprivileged user to read and write kernel memory.\n          This exploit first reads the kernel memory to identify the commit_creds and\n          ptmx_fops address, then uses the write primitive to execute shellcode as uid 0.\n          The exploit was first discovered in the wild in the vroot rooting application.",
  "disclosure_date": "2013-09-06",
  "fullname": "exploit/android/local/put_user_vroot",
  "is_install_path": true,
  "mod_time": "2025-04-26 01:28:35 +0000",
  "name": "Android get_user/put_user Exploit",
  "needs_cleanup": null,
  "notes": {
    "Reliability": [
      "unreliable-session"
    ],
    "SideEffects": [
      "artifacts-on-disk"
    ],
    "Stability": [
      "crash-safe"
    ]
  },
  "path": "/modules/exploits/android/local/put_user_vroot.rb",
  "platform": "Android,Linux",
  "post_auth": false,
  "rank": 600,
  "ref_name": "android/local/put_user_vroot",
  "references": [
    "CVE-2013-6282",
    "URL-https://forum.xda-developers.com/t/root-share-vroot-1-6-0-3690-1-click-root-method-lenovo-a706-walkman-f800-etc.2434453/",
    "URL-https://github.com/fi01/libget_user_exploit",
    "URL-https://forum.xda-developers.com/t/root-saferoot-root-for-vruemj7-mk2-and-android-4-3.2565758/"
  ],
  "rport": null,
  "session_types": [
    "meterpreter"
  ],
  "targets": [
    "Automatic"
  ],
  "type": "exploit"
}
rank600
Excellent. Cannot crash the service. A memory-corruption exploit does not qualify.
receipt
Source
Metasploit exploit modules
Its words
600
Read by
field:rank
Said since
2026-09-28 11:44 UTC
Last answered
2026-10-04 21:06 UTC
Original
open at the source
What the source handed over
{
  "actions": [],
  "aliases": [],
  "arch": "",
  "author": [
    "fi01",
    "cubeundcube",
    "timwr"
  ],
  "autofilter_ports": [],
  "autofilter_services": [],
  "check": false,
  "default_credential": false,
  "description": "This module exploits a missing check in the get_user and put_user API functions\n          in the linux kernel before 3.5.5. The missing checks on these functions\n          allow an unprivileged user to read and write kernel memory.\n          This exploit first reads the kernel memory to identify the commit_creds and\n          ptmx_fops address, then uses the write primitive to execute shellcode as uid 0.\n          The exploit was first discovered in the wild in the vroot rooting application.",
  "disclosure_date": "2013-09-06",
  "fullname": "exploit/android/local/put_user_vroot",
  "is_install_path": true,
  "mod_time": "2025-04-26 01:28:35 +0000",
  "name": "Android get_user/put_user Exploit",
  "needs_cleanup": null,
  "notes": {
    "Reliability": [
      "unreliable-session"
    ],
    "SideEffects": [
      "artifacts-on-disk"
    ],
    "Stability": [
      "crash-safe"
    ]
  },
  "path": "/modules/exploits/android/local/put_user_vroot.rb",
  "platform": "Android,Linux",
  "post_auth": false,
  "rank": 600,
  "ref_name": "android/local/put_user_vroot",
  "references": [
    "CVE-2013-6282",
    "URL-https://forum.xda-developers.com/t/root-share-vroot-1-6-0-3690-1-click-root-method-lenovo-a706-walkman-f800-etc.2434453/",
    "URL-https://github.com/fi01/libget_user_exploit",
    "URL-https://forum.xda-developers.com/t/root-saferoot-root-for-vruemj7-mk2-and-android-4-3.2565758/"
  ],
  "rport": null,
  "session_types": [
    "meterpreter"
  ],
  "targets": [
    "Automatic"
  ],
  "type": "exploit"
}

Text

This module exploits a missing check in the get_user and put_user API functions in the linux kernel before 3.5.5. The missing checks on these functions allow an unprivileged user to read and write kernel memory. This exploit first reads the kernel memory to identify the commit_creds and ptmx_fops address, then uses the write primitive to execute shellcode as uid 0. The exploit was first discovered in the wild in the vroot rooting application.