6.4med

CVE-2016-7076

sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C libr…

Published 8 y ago · modified 4 mo ago · JSON

CVSS
6.4
v3.0 · CNA
CISA KEV
No
not known exploited
EPSS
0.5%
percentile 41%
Public exploits
0
none known

Summary

sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to execute arbitrary commands with elevated privileges.

Exploit prediction (EPSS)

0.48% probability of exploitation in the next 30 days, higher than 41% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.06.4CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CNA3.06.4CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • [UNKNOWN] sudo

Classification

Weakness
  • CWE-184 Incomplete List of Disallowed Inputs
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

  • sudo.ws /alerts/noexec_wordexp.html · x_refsource_CONFIRM, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-2872.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • securityfocus.com /bid/95778 · vdb-entry, x_refsource_BID, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=CVE-2016-7076 · x_refsource_CONFIRM, x_transferred
  • security.netapp.com /advisory/ntap-20181127-0002/ · x_refsource_CONFIRM, x_transferred
  • usn.ubuntu.com /3968-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • usn.ubuntu.com /3968-3/ · vendor-advisory, x_refsource_UBUNTU, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.