Re: RedHat 6.1 /and others/ PAM

From: Ian Turner (vectroat_private)
Date: Tue Feb 01 2000 - 11:52:04 PST

  • Next message: Markus Dobel: "Re: RedHat 6.1 /and others/ PAM"

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    On Mon, 31 Jan 2000, Simple Nomad wrote:
    
    > Trying to "echo PASSWORD | su ACCOUNT" will elicit a response of
    > "standard in must be a tty..." therefore the sploit would stop on the
    > first word in the list as if it was the correct password. Therefore I fail
    > to see the exact sploit here. I tried this on a stock RH 6.1 machine.
    >
    > -         Simple Nomad          -  No rest for the Wicca'd  -
    > -      thegnomeat_private        -        www.nmrc.org       -
    > -  thegnomeat_private  -      www.bindview.com     -
    
    You could create a more complicated exploit using ptty's. Basically su
    checks if standard input is a tty because they don't want you using 'su'
    in shell scripts. But you can still do it, it's just not as easy.
    
    I'd contribute example code but I just woke up. :b
    
    Ian
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.1 (GNU/Linux)
    Comment: For info see http://www.gnupg.org
    
    iD8DBQE4lzlmfn9ub9ZE1xoRAvR4AKChxizjFxxUXwfzYWLSi0dU5TbPQwCfdkv6
    VdKx0CkPQlnicXgsJDC+B3M=
    =QjkA
    -----END PGP SIGNATURE-----
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 15:32:54 PDT