Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #59842

Re: sudo breach

From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups alt.os.linux
Subject Re: sudo breach
Date 2019-10-18 20:06 +0200
Message-ID <gibp7g-09b.ln1@Telcontar.valinor> (permalink)
References (4 earlier) <marl7g-kre.ln1@Telcontar.valinor> <qobdlf$7i9$1@tncsrv09.home.tnetconsulting.net> <2q6o7g-enr.ln1@Telcontar.valinor> <qocftp$8jo$1@dont-email.me> <a9bp7g-09b.ln1@Telcontar.valinor>

Show all headers | View raw


On 18/10/2019 20.01, Carlos E.R. wrote:
> On 18/10/2019 15.49, Joe Beanfish wrote:
>> On Fri, 18 Oct 2019 09:39:14 +0200, Carlos E.R. wrote:
>>
>>> On 18/10/2019 06.04, Grant Taylor wrote:
>>>> On 10/17/19 4:11 AM, Carlos E.R. wrote:
>>>>> To make use of the "problem" you need a user with uid "-1".
>>>>
>>>> I almost guarantee that you already do.
>>>>
>>>> -1 effectively translates to 0.  Remember that root's UID is 0.
>>>>
>>>>> How do you create it without being root?
>>>>
>>>> You don't normally create it so much as it exists when the system is
>>>> installed.  It gets copied from install files and used at install time.
>>>
>>> But uid 0 is not a problem. uid 0 is already root and has powers, it is
>>> not a breach.
>>
>> Perhaps the most common use of sudo is to get root, so you're largely
>> correct. But if a user is setup to sudo to a non-root user they could
>> get root thru this bug. (that's how I understand it anyhow)
> 
> But my understanding is that you need an existing user (in the passwd
> file) "-1" to attempt it (or 4294967296).
> 

What I have read is:
>    - CVE-2019-14287: Fixed an issue where a user with sudo privileges that
>      allowed them to run commands with an arbitrary uid, could run commands
>      as root, despite being forbidden to do so in sudoers (bsc#1153674).


You need a sudo configuration that allows running commands with
arbitrary uid. That's rare, I see no justification for that (nor do I
know what config that would be).


-- 
Cheers, Carlos.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

sudo breach Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-16 15:35 +0200
  Re: sudo breach Aragorn <thorongil@telenet.be> - 2019-10-16 16:00 +0200
    Re: sudo breach Wildman <best_lay@yahoo.com> - 2019-10-16 14:09 -0500
      Re: sudo breach Fenris <fenris@invalid.invalid> - 2019-10-16 19:51 +0000
        Re: sudo breach Ned Latham <nedlatham@woden.valhalla.oz> - 2019-10-16 15:43 -0500
      Re: sudo breach Aragorn <thorongil@telenet.be> - 2019-10-17 08:00 +0200
  Re: sudo breach Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-16 08:54 -0600
  Re: sudo breach "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-10-16 11:33 -0400
    Re: sudo breach "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 18:32 +0200
      Re: sudo breach Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-16 19:53 -0600
        Re: sudo breach "Carlos E.R." <robin_listas@es.invalid> - 2019-10-17 12:11 +0200
          Re: sudo breach Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-17 22:04 -0600
            Re: sudo breach "Carlos E.R." <robin_listas@es.invalid> - 2019-10-18 09:39 +0200
              Re: sudo breach Joe Beanfish <joebeanfish@nospam.duh> - 2019-10-18 13:49 +0000
                Re: sudo breach Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-18 09:31 -0600
                Re: sudo breach "Carlos E.R." <robin_listas@es.invalid> - 2019-10-18 20:01 +0200
                Re: sudo breach "Carlos E.R." <robin_listas@es.invalid> - 2019-10-18 20:06 +0200
                Re: sudo breach Joe Beanfish <joebeanfish@nospam.duh> - 2019-10-21 13:39 +0000
                Re: sudo breach "Carlos E.R." <robin_listas@es.invalid> - 2019-10-21 18:22 +0200
            Re: sudo breach Richard Kettlewell <invalid@invalid.invalid> - 2019-10-18 10:10 +0100
              Re: sudo breach Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-18 09:34 -0600
                Re: sudo breach "Carlos E.R." <robin_listas@es.invalid> - 2019-10-19 02:37 +0200
                Re: sudo breach Richard Kettlewell <invalid@invalid.invalid> - 2019-10-19 15:25 +0100
                Re: sudo breach Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-19 11:24 -0600
                Re: sudo breach Richard Kettlewell <invalid@invalid.invalid> - 2019-10-19 11:06 +0100
                Re: sudo breach Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-19 11:26 -0600
  Re: sudo breach Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-16 20:34 +0200
    Re: sudo breach Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-16 19:57 -0600
      Re: sudo breach Aragorn <thorongil@telenet.be> - 2019-10-17 07:59 +0200
    Re: sudo breach Aragorn <thorongil@telenet.be> - 2019-10-17 07:57 +0200
  Re:sudo breach melzzzzz <mel@melzzzzz.com> - 2019-10-17 08:26 +0200
    Re: sudo breach Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-17 10:13 +0200
    Re: sudo breach Jasen Betts <jasen@xnet.co.nz> - 2019-10-17 09:40 +0000

csiph-web