Subscribe via feed.

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.


This post is under “exploit” and has no respond so far.
If you enjoy this article, make sure you subscribe to my RSS Feed.

Post a reply

You must be logged in to post a comment.