
PoC exploit for Below privilege escalation (CVE-2025-27591) allowing local root access via symlink manipulation in world-writable log directory.
This repository contains a proof-of-concept (PoC) Bash script to exploit the Below privilege escalation vulnerability (CVE-2025-27519) on Linux systems. The exploit allows a local user to escalate privileges to root by abusing the way the below binary logs errors.
⚠️ Warning: This script is intended for educational purposes and authorized penetration testing only. Do not use it on systems you do not own or have permission to test.
below logging utilitybelow binary improperly handles error logging and file locks. Its log directory (/var/log/below/) is globally writable, allowing any local user to manipulate log files. By creating a symlink from error_root.log to /etc/ passwd and triggering below error, an attacker can insert a fake root user entry and gain administrative privileges.Why it works:
below writes errors to /var/log/below/error_root.log./etc/passwd, the script can insert a fake root user entry/etc/passwdgit clone https://github.com/Diabl0xE/CVE-2025-27519
cd CVE-2025-27519
chmod +x exploit.sh
./exploit.sh