cbcvebase.
CVE-2017-9232
published 2017-05-28

CVE-2017-9232: 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…

PriorityP270critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
48.50%
98.7th percentile
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.

Affected

9 ranges
VendorProductVersion rangeFixed in
canonicaljuju<= 1.25.12
canonicaljuju
canonicaljuju
canonicaljuju
canonicaljuju
canonicaljuju
canonicaljuju
canonicaljuju
github.comjuju_juju>= 0 < 0.0.0-20170524231039-0417178a3c280.0.0-20170524231039-0417178a3c28

Detection & IOCsextracted from sources · hover to see the quote

path/var/log/juju/*.log
processjuju-run
  • Check for world-accessible UNIX domain sockets associated with juju-run agent units; exploitation involves connecting to an unprotected socket to execute commands as root.
  • Monitor for unexpected execution of juju-run by non-root, non-juju users, particularly when followed by privilege escalation to root (uid=0).
  • Watch for random-named hidden executables (dot-prefixed alphanumeric filenames) dropped into writable directories such as /tmp and subsequently executed — a pattern used by the Metasploit exploit module for payload staging.
  • Audit Juju unit log files in /var/log/juju/ for enumeration activity; the exploit enumerates unit names by parsing log filenames to identify privileged sockets.
  • ·Vulnerable Juju versions are 1.x before 1.25.12, 2.0.x before 2.0.4, and 2.1.x before 2.1.3; the exploit was confirmed on agent tool versions 1.18.4, 1.25.5, and 1.25.9 on Ubuntu 14.04.1 LTS.
  • ·Exploitation requires an existing local (unprivileged) session on the target system; this is a local privilege escalation, not a remote code execution vulnerability.
  • ·A valid Juju unit must be present and discoverable on the system for exploitation to succeed; the module fails if no privileged socket unit is found.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.