VuXML ID | Description |
764344fb-8214-11e2-9273-902b343deec9 | sudo -- Authentication bypass when clock is reset
Todd Miller reports:
The flaw may allow someone with physical access to a machine that
is not password-protected to run sudo commands without knowing the
logged in user's password. On systems where sudo is the principal
way of running commands as root, such as on Ubuntu and Mac OS X,
there is a greater chance that the logged in user has run sudo
before and thus that an attack would succeed.
Discovery 2013-02-27 Entry 2013-03-01 sudo
< 1.8.6.p7
CVE-2013-1775
http://www.sudo.ws/sudo/alerts/epoch_ticket.html
|
6193b3f6-548c-11eb-ba01-206a8a720317 | sudo -- Potential information leak in sudoedit
Todd C. Miller reports:
A potential information leak in sudoedit that could be used to
test for the existence of directories not normally accessible to
the user in certain circumstances. When creating a new file,
sudoedit checks to make sure the parent directory of the new file
exists before running the editor. However, a race condition exists
if the invoking user can replace (or create) the parent directory.
If a symbolic link is created in place of the parent directory,
sudoedit will run the editor as long as the target of the link
exists.If the target of the link does not exist, an error message
will be displayed. The race condition can be used to test for the
existence of an arbitrary directory. However, it _cannot_ be used
to write to an arbitrary location.
Discovery 2021-01-11 Entry 2021-01-11 sudo
< 1.9.5
https://www.sudo.ws/stable.html#1.9.5
CVE-2021-23239
|
f3cf4b33-6013-11eb-9a0e-206a8a720317 | sudo -- Multiple vulnerabilities
Todd C. Miller reports:
When invoked as sudoedit, the same set of command line options
are now accepted as for sudo -e. The -H and -P options are now
rejected for sudoedit and sudo -e which matches the sudo 1.7
behavior. This is part of the fix for CVE-2021-3156.
Fixed a potential buffer overflow when unescaping backslashes in
the command's arguments. Normally, sudo escapes special characters
when running a command via a shell (sudo -s or sudo -i). However,
it was also possible to run sudoedit with the -s or -i flags in
which case no escaping had actually been done, making a buffer
overflow possible. This fixes CVE-2021-3156.
Discovery 2021-01-26 Entry 2021-01-26 sudo
< 1.9.5p2
https://www.sudo.ws/stable.html#1.9.5p2
CVE-2021-3156
|
2e4fbc9a-9d23-11e6-a298-14dae9d210b8 | sudo -- Potential bypass of sudo_noexec.so via wordexp()
Todd C. Miller reports:
A flaw exists in sudo's noexec functionality that may allow
a user with sudo privileges to run additional commands even when the
NOEXEC tag has been applied to a command that uses the wordexp()
function.
Discovery 2016-10-28 Entry 2016-10-28 sudo
ge 1.6.8 lt 1.8.18p1
https://www.sudo.ws/alerts/noexec_wordexp.html
CVE-2016-7076
|
7c920bb7-4b5f-11e1-9f47-00e0815b8da8 | sudo -- format string vulnerability
Todd Miller reports:
Sudo 1.8.0 introduced simple debugging support that was primarily
intended for use when developing policy or I/O logging plugins.
The sudo_debug() function contains a flaw where the program name
is used as part of the format string passed to the fprintf()
function. The program name can be controlled by the caller,
either via a symbolic link or, on some systems, by setting argv[0]
when executing sudo.
Using standard format string vulnerability exploitation
techniques it is possible to leverage this bug to achieve root
privileges.
Exploitation of the bug does not require that the attacker be
listed in the sudoers file. As such, we strongly suggest that
affected sites upgrade from affected sudo versions as soon as
possible.
Discovery 2012-01-30 Entry 2012-01-30 Modified 2012-01-31 sudo
ge 1.8.0 lt 1.8.3_2
CVE-2012-0809
http://www.gratisoft.us/sudo/alerts/sudo_debug.html
|
3310014a-5ef9-11ed-812b-206a8a720317 | sudo -- Potential out-of-bounds write for small passwords
SO-AND-SO reports:
Sudo 1.8.0 through 1.9.12, with the crypt() password backend,
contains a plugins/sudoers/auth/passwd.c array-out-of-bounds
error that can result in a heap-based buffer over-read. This
can be triggered by arbitrary local users with access to sudo
by entering a password of seven characters or fewer. The impact
could vary depending on the system libraries, compiler,
and processor architecture.
Discovery 2022-11-07 Entry 2022-11-07 sudo
ge 1.8.0 lt 1.9.12p1
CVE-2022-43995
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-43995
|
b4e5f782-442d-11ea-9ba9-206a8a720317 | sudo -- Potential bypass of Runas user restrictions
Todd C. Miller reports:
Sudo's pwfeedback option can be used to provide visual feedback
when the user is inputting their password. For each key press,
an asterisk is printed. This option was added in response to
user confusion over how the standard Password: prompt disables
the echoing of key presses. While pwfeedback is not enabled by
default in the upstream version of sudo, some systems, such as
Linux Mint and Elementary OS, do enable it in their default
sudoers files.
Due to a bug, when the pwfeedback option is enabled in the
sudoers file, a user may be able to trigger a stack-based buffer
overflow. This bug can be triggered even by users not listed in
the sudoers file. There is no impact unless pwfeedback has been
enabled.
Discovery 2020-01-30 Entry 2020-01-30 sudo
< 1.8.31
https://www.sudo.ws/alerts/pwfeedback.html
CVE-2019-18634
|
3a1474ba-f646-11e9-b0af-b888e347c638 | sudo -- Potential bypass of Runas user restrictions
Todd C. Miller reports:
When sudo is configured to allow a user to run commands as an
arbitrary user via the ALL keyword in a Runas specification, it
is possible to run commands as root by specifying the user ID -1
or 4294967295.
This can be used by a user with sufficient sudo privileges to
run commands as root even if the Runas specification explicitly
disallows root access as long as the ALL keyword is listed first
in the Runas specification.
Log entries for commands run this way will list the target user
as 4294967295 instead of root. In addition, PAM session modules
will not be run for the command.
Discovery 2019-10-15 Entry 2019-10-24 sudo
< 1.8.28
https://www.sudo.ws/alerts/minus_1_uid.html
CVE-2019-14287
|
2e8cdd36-c3cc-11e5-b5fe-002590263bf5 | sudo -- potential privilege escalation via symlink misconfiguration
MITRE reports:
sudoedit in Sudo before 1.8.15 allows local users to gain
privileges via a symlink attack on a file whose full path is defined
using multiple wildcards in /etc/sudoers, as demonstrated by
"/home/*/*/file.txt."
Discovery 2015-11-17 Entry 2016-01-26 sudo
< 1.8.15
CVE-2015-5602
ports/206590
https://www.exploit-db.com/exploits/37710/
https://bugzilla.sudo.ws/show_bug.cgi?id=707
http://www.sudo.ws/stable.html#1.8.15
|
82cfd919-8213-11e2-9273-902b343deec9 | sudo -- Potential bypass of tty_tickets constraints
Todd Miller reports:
A (potentially malicious) program run by a user with sudo access
may be able to bypass the "tty_ticket" constraints. In order for
this to succeed there must exist on the machine a terminal device
that the user has previously authenticated themselves on via sudo
within the last time stamp timeout (5 minutes by default).
Discovery 2013-02-27 Entry 2013-03-01 sudo
< 1.8.6.p7
CVE-2013-1776
http://www.sudo.ws/sudo/alerts/tty_tickets.html
|
b3435b68-9ee8-11e1-997c-002354ed89bc | sudo -- netmask vulnerability
Todd Miller reports:
Sudo supports granting access to commands on a per-host basis.
The host specification may be in the form of a host name, a
netgroup, an IP address, or an IP network (an IP address with an
associated netmask).
When IPv6 support was added to sudo, a bug was introduced that
caused the IPv6 network matching code to be called when an IPv4
network address does not match. Depending on the value of the
uninitialized portion of the IPv6 address, it is possible for the
IPv4 network number to match when it should not. This bug only
affects IP network matching and does not affect simple IP address
matching.
The reported configuration that exhibited the bug was an
LDAP-based sudo installation where the sudoRole object contained
multiple sudoHost entries, each containing a different IPv4
network. File-based sudoers should be affected as well as the
same matching code is used.
Discovery 2012-05-16 Entry 2012-05-16 sudo
le 1.8.4_1
CVE-2012-2337
http://www.sudo.ws/sudo/alerts/netmask.html
|