From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DBE1F3894C2F; Tue, 2 Mar 2021 05:16:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DBE1F3894C2F From: "maxkamper at outlook dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/27471] GLIBC_TUNABLES aren't parsed properly in AT_SECURE binaries Date: Tue, 02 Mar 2021 05:16:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.34 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maxkamper at outlook dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 05:16:50 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27471 --- Comment #3 from Max --- Indeed the only threat I can think of is when a suid binary sets uid =3D eu= id before invoking a child process (like sudo does), in which case the child w= on't ignore the SXID_ERASE tunable but will still have elevated privileges. A (somewhat contrived) example could be a user having sudo access to a regu= lar binary, in which case they could, as you mentioned, use the tunables to facilitate exploitation of said binary with elevated privileges. --=20 You are receiving this mail because: You are on the CC list for the bug.=