This module exploits a stack buffer overflow in IBM Cognos Analytic Server Admin service. The vulnerability exists in the tm1admsd.exe component, due to a dangerous copy of user controlled data to the stack, via memcpy, without validating the supplied length and data. The module has been tested successfully on IBM Cognos Express 9.5 over Windows XP SP3.
Windows
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/misc/ibm_cognos_tm1admsd_bof
msf exploit(ibm_cognos_tm1admsd_bof) > show targets
...targets...
msf exploit(ibm_cognos_tm1admsd_bof) > set TARGET < target-id >
msf exploit(ibm_cognos_tm1admsd_bof) > show options
...show and set options...
msf exploit(ibm_cognos_tm1admsd_bof) > 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