For this blog post I'm going to be focusing on website security. There are a lot of ways websites can be insecure, and a lot of ways to test what kind of vulnerabilities different websites have. Fortunately there are a lot of tools that exist already that bombard websites with all kinds of tests. I'm going to be using one called Vega, which can be downloaded at https://subgraph.com/vega/download/. This tool is very simple, simply give it a website URI and it does the rest, giving you a nice pretty printout with any security vulnerabilities it finds.
Since this is purely for educational purposes I'm going to be testing a fake website at http://testasp.vulnweb.com/search.asp. Here are the results of the Vega scan:
![]() |
| Vega Printout - 2 High Risk Flaws!!! |
![]() |
| mmmmm cookies |
The second vulnerability is marked "Cookie without the HttpOnly flag". The HttpOnly flag affects who can access your cookies. Enabling it means that only the webpage can look at your cookies, This is important as it can stop third parties from accessing you sensitive information through java script. Again, fixing this is quite simple as its only requires a flag on the cookie to be set by the developer.


No comments:
Post a Comment