CVE-2017-9232

CRITICAL

Juju < 1.25.12, 2.0.x < 2.0.4, 2.1.x < 2.1.3 - Privilege Escalation via UNIX Domain Socket

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2017-9232. PoCs published by Metasploit, Ryan Beisner, David Ames (@thedac), bcoles, including Metasploit module exploits/linux/local/juju_run_agent_priv_esc.

AI-analyzed exploit summary This Metasploit module exploits a privilege escalation vulnerability in Juju agent systems by leveraging improperly secured UNIX domain sockets to execute arbitrary commands as root. It checks for vulnerable units, uploads a payload executable, and executes it via the privileged socket.

Description

Juju before 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3 uses a UNIX domain socket without setting appropriate permissions, allowing privilege escalation by users on the system to root.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Metasploit · rubylocallinux
https://www.exploit-db.com/exploits/44023

This Metasploit module exploits a privilege escalation vulnerability in Juju agent systems by leveraging improperly secured UNIX domain sockets to execute arbitrary commands as root. It checks for vulnerable units, uploads a payload executable, and executes it via the privileged socket.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Juju agent tools prior to 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3
No auth needed
Prerequisites: Local access to a vulnerable Juju agent system · Presence of a Juju unit with a privileged socket
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Ryan Beisner, David Ames (@thedac), bcoles · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/juju_run_agent_priv_esc.rb

This Metasploit module exploits a privilege escalation vulnerability in Juju agent systems by leveraging improperly secured UNIX domain sockets to execute arbitrary commands as root. It targets versions prior to 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Juju agent tools (versions prior to 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3)
No auth needed
Prerequisites: Local access to the target system · Juju-run utility installed · Presence of a Juju unit with a privileged socket
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugs.launchpad.net/juju/+bug/1682411
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/98737
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/44023/

Scores

CVSS v3 9.8
EPSS 0.7995
EPSS Percentile 99.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-862
Status published
Products (9)
canonical/juju 2.0.0 (24 CPE variants)
canonical/juju 2.0.1
canonical/juju 2.0.2
canonical/juju 2.0.3
canonical/juju 2.1.0 (8 CPE variants)
canonical/juju 2.1.1
canonical/juju 2.1.2
canonical/juju < 1.25.12
juju/juju 0 - 0.0.0-20170524231039-0417178a3c28Go
Published May 28, 2017
Tracked Since Feb 18, 2026