Ten-Year Old Sudo Vulnerability Gives Root Privileges on Host:
A major security hole in the Sudo utility could be abused by unprivileged users to gain root privileges on the vulnerable host, Qualys reports.
Designed to allow users to run programs with the security privileges of another user (by default superuser, hence the name, which is derived from 'superuser do'), Sudo is present in major Unix- and Linux-based operating systems out there.
Tracked as CVE-2021-3156, the recently identified vulnerability, which Qualys refers to as "Baron Samedit," was introduced in July 2011, and can be exploited to gain root privileges using a default Sudo configuration.
This means that an attacker able to compromise a low-privileged account on the machine could abuse the vulnerability to gain root access.
All legacy versions of Sudo, from 1.8.2 to 1.8.31p2, as well as the utility's stable releases from 1.9.0 to 1.9.5p1 are affected, in their default configuration.
[...] Qualys, which provides an in-depth technical analysis of the vulnerability, has published a proof-of-concept video to demonstrate how the issue can be exploited.
Also at Bleeping Computer.
CVE-2021-3156: Heap-Based Buffer Overflow in Sudo (Baron Samedit)
(Score: 3, Insightful) by darkfeline on Thursday January 28 2021, @11:08AM (3 children)
If C++ wasn't such a ginormous frankenstein, maybe most of the programmers using it wouldn't be making "basic" mistakes.
A lot of people against C++, like Torvalds, are against C++ programmers.
If the spec doesn't fit on a few dozen pages, it's not fit for production since no average user can be assumed to use it correctly.
Join the SDF Public Access UNIX System today!
(Score: 4, Informative) by pvanhoof on Thursday January 28 2021, @11:24AM
Linus doesn't like C++ for kernel development [github.com]. Subsurface [wikipedia.org], however, he and Dirk Honhdel ported from C based Gtk+ to C++ based Qt [wikipedia.org].
Contrary to most C developers, Linus isn't ideological but a pragmatic software developer. Also Linus is definitely not ideological about following himself (the whole 'because Linus does something, it must be good'-concept is absurdly moronic and precisely the kind of stupid ideology that I meant in my earlier comment).
(Score: 4, Insightful) by unauthorized on Thursday January 28 2021, @09:40PM (1 child)
That's like saying an airplane is not fit for operation if you can't fit the technical specifications of all of it's components in a few dozen pages. Most of the C++ spec is meant for compiler developers, it's not aimed at regular developers.
(Score: 0) by Anonymous Coward on Friday January 29 2021, @01:58AM
Those who believe language specs are not for them, are doomed to learn otherwise the hard way.