This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] BZ #15755: CVE-2013-2207: pt_chown tricked into granting access to another users pseudo-terminal


On Friday 19 July 2013 01:55:13 Carlos O'Donell wrote:
> --- a/configure.in
> +++ b/configure.in
> @@ -353,6 +353,16 @@ AC_ARG_ENABLE([nscd],
>  	      [use_nscd=$enableval],
>  	      [use_nscd=yes])
> 
> +AC_ARG_ENABLE([pt_chown],
> +	      [AS_HELP_STRING([--enable-pt_chown],
> +	       [Enable building and installing pt_chown])],
> +	      [build_pt_chown=$enableval],
> +	      [build_pt_chown=no])
> +AC_SUBST(build_pt_chown)
> +if test $build_pt_chown = yes; then

the var expansion is missing quoting.  since it comes directly from the user, 
you could trigger bad behavior:
	./configure --enable-pt_chown='foo bar it'
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]