Rapid7 Vulnerability & Exploit Database

TRENDnet SecurView Internet Camera UltraMJCam OpenFileDlg Buffer Overflow

Back to Search

TRENDnet SecurView Internet Camera UltraMJCam OpenFileDlg Buffer Overflow



This module exploits a vulnerability found in TRENDnet SecurView Internet Camera's ActiveX control. By supplying a long string of data as the sFilter argument of the OpenFileDlg() function, it is possible to trigger a buffer overflow condition due to WideCharToMultiByte (which converts unicode back to) overwriting the stack more than it should, which results arbitrary code execution under the context of the user.


  • rgod
  • sinn3r <sinn3r@metasploit.com>




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/windows/browser/ultramjcam_openfiledig_bof
msf exploit(ultramjcam_openfiledig_bof) > show targets
msf exploit(ultramjcam_openfiledig_bof) > set TARGET < target-id >
msf exploit(ultramjcam_openfiledig_bof) > show options
    ...show and set options...
msf exploit(ultramjcam_openfiledig_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