HackDig : Dig high-quality web security articles for hackers

Google's osconfig agent - local privilege escalation

2020-09-30 10:05
Osconfig is a beta service by Google, a poll based "desired state
configuration" solution: "You can use the OS configuration management
service to deploy, query, and maintain consistent configurations
(desired state and software) for your VM instance (VM)."
VMs on the Compute Engine have a privileged agent process called
"google_osconfig_agent" running by default.

The agent was vulnerable to local privilege escalation due to relying
on a predictable path inside the /tmp directory. An unprivileged
malicious process could abuse this flaw to win a race condition and
take over the files managed by the high privileged agent process and
thus execute arbitrary commands as the root user (full capabilities).
Exploitation was possible only during an osconfig recipe being

Google has fixed this issue recently (2020-09-05); remediation is to
upgrade the process from the OS package repositories. (VMs that were
created since the new version was published, are not affected.)

More info and proof of concept code can be found here:

More info about osconfig:


Sent through the Full Disclosure mailing list
Web Archives & RSS: http://seclists.org/fulldisclosure/

Source: 64/peS/0202/erusolcsidlluf/gro.stsilces

Read:211 | Comments:0 | Tags: privilege

“Google's osconfig agent - local privilege escalation”0 Comments

Submit A Comment



Blog :

Verification Code: