Rapid7 Vulnerability & Exploit Database

KingView Log File Parsing Buffer Overflow

Back to Search

KingView Log File Parsing Buffer Overflow



This module exploits a vulnerability found in KingView <= 6.55. It exists in the KingMess.exe application when handling log files, due to the insecure usage of sprintf. This module uses a malformed .kvl file which must be opened by the victim via the KingMess.exe application, through the 'Browse Log Files' option. The module has been tested successfully on KingView 6.52 and KingView 6.53 Free Trial over Windows XP SP3.


  • Lucas Apa
  • Carlos Mario Penagos Hollman
  • juan vazquez <juan.vazquez@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/fileformat/kingview_kingmess_kvl
msf exploit(kingview_kingmess_kvl) > show targets
msf exploit(kingview_kingmess_kvl) > set TARGET < target-id >
msf exploit(kingview_kingmess_kvl) > show options
    ...show and set options...
msf exploit(kingview_kingmess_kvl) > 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