CVE-2016-9151
HIGHPalo Alto Networks PAN-OS <7.1.6 - Privilege Escalation
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2016-9151. PoCs published by Google Security Research.
AI-analyzed exploit summary This exploit leverages an unscrubbed environment in a setuid root executable to execute arbitrary Python code with elevated privileges. By setting PYTHONPATH to a directory containing a malicious script, an attacker can achieve local privilege escalation.
Description
Palo Alto Networks PAN-OS before 5.0.20, 5.1.x before 5.1.13, 6.0.x before 6.0.15, 6.1.x before 6.1.15, 7.0.x before 7.0.11, and 7.1.x before 7.1.6 allows local users to gain privileges via crafted values of unspecified environment variables.
Exploits (2)
This exploit leverages an unscrubbed environment in a setuid root executable to execute arbitrary Python code with elevated privileges. By setting PYTHONPATH to a directory containing a malicious script, an attacker can achieve local privilege escalation.
The exploit demonstrates a command injection vulnerability in the setuid root utility `root_reboot` due to unsafe use of `system()` with attacker-controlled input. It shows two methods: direct injection via the `--restart` parameter and environment variable manipulation to achieve root command execution.
References (5)
Scores
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H