harriyott.com

Wednesday, September 13, 2006

I'm on my way back from an excellent VBUG session. Barry Dorrans demonstrated a worrying number of website hacks, from cross-site scripting to SQL injection attacks and search engine leaks. This is the same presentation that I foolishly missed at the first developer^3 day, and I'm really glad I got another chance to see it.

Some of the techniques I had come across before, but not in as much detail as Barry showed. I must mention at this point that Barry repeatedly emphasised that these website hacks should not be tried willy nilly on various websites, but the information provided was to be used to help prevent our own sites being hacked.

Barry had a deliberately bad website installed on his laptop that he demonstrated the various hacks on. This was quite useful, as one or two of the examples were quite hard to understand until it was shown.

Some of the hacks were quite subtle, like trying to make a web page crash by meddling with the query string. If the site was still in debug mode, then the exception details are displayed to the user, including source code, and possibly database details from any SQL in the source.

As ever, Barry had a relaxed style of presenting, which was engaging and entertaining. So; good content and good presentation made for one of the best developer sessions I've attended.

[Tags: ]

2 Comments:

Jane said...

I remember the good old ASP::$DATA one from early asp days :-)

On a unsecured website (think it might have been a Service Pack thing) that had asp pages, if you typed ::$DATA (not sure if the case was important) then it would show you the source code of the page.

Amazing the number of people who had their database connection strings in their pages :-)

I remember some colleagues in a company I worked at long ago bringing down Dixons web site for a short while :-)

September 14, 2006 4:28 PM  
Simon said...

So that would mean that the connection string had to be on every page. Let's hope that it doesn't have to change too often.

September 14, 2006 4:32 PM  

Post a Comment

Links to this post:

Create a Link

<< Home