Rapid7 Vulnerability & Exploit Database

Sun Solaris sadmind adm_build_path() Buffer Overflow

Back to Search

Sun Solaris sadmind adm_build_path() Buffer Overflow



This module exploits a buffer overflow vulnerability in adm_build_path() function of sadmind daemon. The distributed system administration daemon (sadmind) is the daemon used by Solstice AdminSuite applications to perform distributed system administration operations. The sadmind daemon is started automatically by the inetd daemon whenever a request to invoke an operation is received. The sadmind daemon process continues to run for 15 minutes after the last request is completed, unless a different idle-time is specified with the -i command line option. The sadmind daemon may be started independently from the command line, for example, at system boot time. In this case, the -i option has no effect; sadmind continues to run, even if there are no active requests.


  • Ramon de C Valle <rcvalle@metasploit.com>
  • Adriano Lima <adriano@risesecurity.org>






Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/solaris/sunrpc/sadmind_adm_build_path
msf exploit(sadmind_adm_build_path) > show targets
msf exploit(sadmind_adm_build_path) > set TARGET < target-id >
msf exploit(sadmind_adm_build_path) > show options
    ...show and set options...
msf exploit(sadmind_adm_build_path) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security