Quality is delighting customers
Permalink Reply by vamshi on December 17, 2009 at 12:23pm
Permalink Reply by parag on December 17, 2009 at 4:21pm
Permalink Reply by Hitesh Shah on December 30, 2009 at 5:45pm
Permalink Reply by Srikanth Koushal V on January 1, 2010 at 3:56pm
Permalink Reply by Rakesh Hansalia on April 27, 2012 at 4:41pm Add to Shrikanth's point for SQL Injection- You can also install SQL Injection Mozilla AddOns for Firefox. This AddOns provide some injectors(combination od string) as well as you can also add string input to it so you can check your webapplication in order to check your access.
Permalink Reply by Hitesh Shah on December 30, 2009 at 5:45pm
Permalink Reply by Nandakumar on June 10, 2011 at 2:58pm
Permalink Reply by pyla on December 17, 2009 at 11:32am
Permalink Reply by Nandakumar on June 10, 2011 at 2:58pm Hi Anu,
Security Testing is like an ocean , will share you some of the key security features needs to be carried out Web Based Applications.
1. Session Handling ( Check cookies were deleted [on logout, close window, network disconnect, session timeout ]
2. SQL Injection ( passing parameterization on address bar and trying to insert/update/drop (deleting tables) from the front end.
3. XSS Testing(Cross Site Scripting) - Using javascripts/html tags can hack the user details and call it from the hackers place.
4. Tampering (Tamper IE ) - if the DB/Server validations is not done properly we can alter the values and pass the alternate value and insert into the system.
5. Vulnerablity - Renaming a virus .exe file to .jpg or .doc and try to upload it in the server ( e.g. my profile section or upload document section)
Banking application related testing is very advanced level of security testing - if anybody knows more on that kindly share...
Thanks
Permalink Reply by Teemu Vesala on June 28, 2011 at 7:38pm Session handling is very exciting issue and it has plenty of bugs. I'll write briefly about it what things can go wrong. Not just proper deletion, but there is multiple different issues which I've found at different projects.
First is session id randomness. I recommend that there's always at least 512 random bits at session cookie. To analyze the randomness requires some mathematical and statistical skills and Excel playing.
Second is proper handling of session id. It should be changed everytime and previous one should invalidated every time when authentication status changes. So cookie handling in case where user does following steps: goes to main page, logs in, checks page which requires authentication, logs out should have:
Main page - Create session id for non authenticated session
After successfull login - remove the previous session id and invalidate it, create new session id
View page which requires authentication - no changes to the session id
Log out - invalidate the previous session id and give new one.
This prevents accidents and some nasty attack vectors.
Third any of the cookies should NEVER be enough to authenticate the user. I've seen many times that there is properly handled session id. I can't reuse it to get back as logged out user. But then there is something like "USERSTATE" which has good looking hex coded something. And if I take that USERSTATE, start new session, insert USERSTATE to copied one, the user gets logged in. That should NEVEN happend. Random session id should be only thing which connects user to session.
Forth: System accepts externally generated session id. Well.. if second is handled correctly, this is not the HUGE issue, but it still is the issue. Many php-applications are accepting any session id which is sent by browser as long as its syntax is correct. That should never happend. It's the timebomb.
Fifth - proper configurations. If the web application is using https, the cookie should never be sent over http. So there should be flagged as 'secure'. And if javascript doesn't need to know session id, it should be flagged with httponly-flag.
Then external thing which I usually note: Same domain should never have http- and https-services. If you look at Facebook - it has https- and http-protocols at http://facebook.com/ It's very difficult to notice when some link ends up to https- or http-protocol. That is confusing users. And anything which confuses users should be seen as bad thing.
Hopefully people get the point - security testing has plenty of things. I've written only a bit about cookie handling only. XSS, SQL injection, network security, error messages, etc. requires more knowledge. Good way to learn is to read security news, read about the security bugs, reproduce the issues reported by others and so on.
© 2012 Created by Quality Testing.