Xorg X11 Server Local Privilege Escalation
Posted by deepcore on November 13, 2019 – 2:10 pm
This Metasploit module has been tested with AIX 7.1 and 7.2, and should also work with 6.1. Due to permission restrictions of the crontab in AIX, this module does not use cron, and instead overwrites /etc/passwd in order to create a new user with root privileges. All currently logged in users need to be included when /etc/passwd is overwritten, else AIX will throw ‘Cannot get “LOGNAME” variable’ when attempting to change user. The Xorg ‘-fp’ parameter used in the OpenBSD exploit does not work on AIX, and is replaced by ‘-config’, in conjuction with ANSI-C quotes to inject newlines when overwriting /etc/passwd.
Post a reply
You must be logged in to post a comment.