Rapid7 Vulnerability & Exploit Database

FlexNet License Server Manager lmgrd Buffer Overflow

Back to Search

FlexNet License Server Manager lmgrd Buffer Overflow



This module exploits a vulnerability in the FlexNet License Server Manager. The vulnerability is due to the insecure usage of memcpy in the lmgrd service when handling network packets, which results in a stack buffer overflow. In order to improve reliability, this module will make lots of connections to lmgrd during each attempt to maximize its success.


  • Luigi Auriemma
  • Alexander Gavrun
  • juan vazquez <juan.vazquez@metasploit.com>
  • 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/license/flexnet_lmgrd_bof
msf exploit(flexnet_lmgrd_bof) > show targets
msf exploit(flexnet_lmgrd_bof) > set TARGET < target-id >
msf exploit(flexnet_lmgrd_bof) > show options
    ...show and set options...
msf exploit(flexnet_lmgrd_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