Re: Environment Poisoning and login -p

From: Dag-Erling Smørgrav (des_at_des.no)
Date: 02/26/04

  • Next message: Dag-Erling Smørgrav: "HEADS UP: OpenSSH 3.8p1"
    To: kientzle@acm.org
    Date: Thu, 26 Feb 2004 11:14:40 +0100
    
    

    Tim Kientzle <tim@kientzle.com> writes:
    > There's been an ongoing discussion (started by
    > Colin Percival's recent work on nologin) about
    > environment-poisoning attacks via "login -p".
    > [...]

    You missed the obvious solution: remove login(1)'s setuid bit so it
    only works if you are already root.

    DES

    -- 
    Dag-Erling Smørgrav - des@des.no
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
    

  • Next message: Dag-Erling Smørgrav: "HEADS UP: OpenSSH 3.8p1"