Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Microsoft Visual Basic VBP Stack Buffer Overflow

Disclosed
Sep 4, 2007
Created
May 30, 2018

Description

This module exploits a stack buffer overflow in Microsoft Visual Basic
6.0. A specially crafted Visual Basic Project (VBP) file containing
a long reference line can be used to execute arbitrary code.

Platform

Windows

Architectures

x86

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.