mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Solar Designer <solar@openwall.com>
To: musl@lists.openwall.com
Subject: Re: Binaries compiled with musl (1.1.2) are vulnerable to an ancient ldd exploit
Date: Sat, 14 Jun 2014 22:37:25 +0400	[thread overview]
Message-ID: <20140614183725.GA13279@openwall.com> (raw)
In-Reply-To: <20140614182942.GL179@brightrain.aerifal.cx>

On Sat, Jun 14, 2014 at 02:29:42PM -0400, Rich Felker wrote:
> Stock glibc accepts all of the LD_* environment variables for
> suid/sgid, including dangerous ones, and only applies weak
> restrictions to them (for example it even allows LD_PRELOAD after
> imposing some insufficient conditions on the library to be preloaded).

Oh, I recall it allows LD_PRELOAD on libraries that are placed in system
directories and are themselves marked with the SUID bit.  IIRC, libc5's
dynamic linker had that, too.

Alexander


  reply	other threads:[~2014-06-14 18:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-14 15:35 Steven Honeyman
2014-06-14 15:50 ` Szabolcs Nagy
2014-06-14 15:51 ` Daniel Cegiełka
2014-06-14 16:03   ` Szabolcs Nagy
2014-06-14 16:16     ` Rich Felker
2014-06-14 16:02 ` Rich Felker
2014-06-14 16:10   ` Steven Honeyman
2014-06-14 16:30     ` Rich Felker
2014-06-14 16:14   ` Solar Designer
2014-06-14 16:24     ` Rich Felker
2014-06-14 16:27       ` Steven Honeyman
2014-06-14 16:42         ` Szabolcs Nagy
2014-06-14 17:11           ` Rich Felker
2014-06-14 17:24       ` Solar Designer
2014-06-14 18:29         ` Rich Felker
2014-06-14 18:37           ` Solar Designer [this message]
2014-06-14 19:39             ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140614183725.GA13279@openwall.com \
    --to=solar@openwall.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).