
This is a proof-of-concept (PoC) exploit for CVE-2025-27591, a local privilege escalation vulnerability in the below system monitor tool.
The issue arises from unsafe handling of log files (/var/log/below/error_root.log) when executed with elevated privileges. By abusing this, an attacker can perform a symlink attack and inject a malicious user into /etc/passwd, effectively granting root access.
/usr/bin/belowsudo permission to run below record/var/log/below/error_root.log → /etc/passwdsudo /usr/bin/below record/etc/passwdgit clone https://github.com/Thekin-ctrl/CVE-2025-27591-Below.git
cd CVE-2025-27591-Below
python3 Exploit.py
This exploit was inspired by an earlier proof-of-concept by BridgerAlderson, available here:
The current version is a simplified and adapted version written by me for educational and practice purposes.