Results 1 to 5 of 5

Thread: [RESOLVED] Visual Studio Expoit

  1. #1

    Thread Starter
    Frenzied Member litlewiki's Avatar
    Join Date
    Dec 2005
    Location
    Zeta Reticuli Distro:Ubuntu Fiesty
    Posts
    1,162

    Resolved [RESOLVED] Visual Studio Expoit

    hi guys ,most of u must have heard of this exploit or vulnerability but still...

    it says that its possible for a hacker to execute arbitrary code on your station as soon as you open a .sln file.or a visual studio solution file.

    i also found this advisory link which the original security firm Team Priestmasters Security Research released...
    http://www.priestmaster.org/projects...sadvisorie.txt

    p.s:heres the sample application you can try it for yourself http://www.priestmaster.org/projects.../vsexploit.zip

    Open vbexploit.sln file
    Click on Form1.cs

    If you see a Message Box and calc is launched you are vulnerable to
    Visual Studio remote Code execution.
    Last edited by litlewiki; Jun 15th, 2006 at 05:27 PM. Reason: forgot to add the link

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Visual Studio Expoit

    I've seen this since VS 2003. I kept running into oddities one day when working on a winform app, and realized that the _Load event was executing everytime.

    This remains in VS 2005 as well, and I think this is part of the 'luxury' of inherently being able to view a user control right in design mode.

  3. #3

    Thread Starter
    Frenzied Member litlewiki's Avatar
    Join Date
    Dec 2005
    Location
    Zeta Reticuli Distro:Ubuntu Fiesty
    Posts
    1,162

    Re: Visual Studio Expoit

    i was looking around for a solution and this is what i found::

    1.Change the CS editor from 'CSharp Form Editor' to 'CSharp Editor' (i.e. from the form editor to the text editor)
    2. Right click on cs file in the solution explorer and choose 'Open With' choose the 'CSharp Editor' and click 'Set as default' and then on the OK button.

    p.s:this prevents the automatic execution of the code

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: Visual Studio Expoit

    Just don't download projects from others you don't know/trust.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  5. #5
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Visual Studio Expoit

    Quote Originally Posted by litlewiki
    i was looking around for a solution and this is what i found::

    1.Change the CS editor from 'CSharp Form Editor' to 'CSharp Editor' (i.e. from the form editor to the text editor)
    2. Right click on cs file in the solution explorer and choose 'Open With' choose the 'CSharp Editor' and click 'Set as default' and then on the OK button.

    p.s:this prevents the automatic execution of the code
    Not working here. VS 2005 Pro.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width