Apache Conf Privilege Escalation
Investigation
ls -al /etc/apache2
-rwxrwxrwx 1 root root 7094 NOV 7 2023 apache2.confExploitation
1. Update Apache.Conf
# These need to be set in /etc/apache2/envvars
User www-data
Group www-data2. Insert Reverse Shell Script
3. Restart Apache Server
4. Get a Shell
Last updated