Thursday, November 3, 2011

Bodgeit Notes

Bodge IT Store is a vulnerable web application intended for pen-testers to practice their web app pen-test skills in a safe environment.

The Bodge It Store include the following significant vulnerabilities:
  • Cross Site Scripting
  • SQL injection
  • Hidden (but unprotected) content
  • Cross Site Request Forgery
  • Debug code
  • Insecure Object References
  • Application logic vulnerabilities 

Installation

Backtrack5 was used for this purpose

1. Install tomcat
$ apt-get install tomcat6

2. Download bodgeit, unzip and move the war file to the /var/lib/tomcat6/webapps folder
$ wget http://bodgeit.googlecode.com/files/bodgeit.1.3.0.zip
$ unzip bodgeit.1.3.0.zip
$ mv bodgeit.war /var/lib/tomcat6/webapps

3. Start tomcat
$ /etc/init.d/tomcat6 start

4. If all went well, you can now access the bodgeit store instance on the IP address of the BT5 or localhost - http://127.0.0.1:8080/bodgeit

Challenges
Note that the IP address 192.168.80.140 is the IP address of my BT5 VM instance.
In solving these challenges, the following tools were used:
  • Firefox with firebug addon
  • Burpsuite free edition
Challenge 1: Login as test@thebodgeitstore.com

Challenge 2: Login as user1@thebodgeitstore.com

Challenge 3: Login as user1@thebodgeitstore.com

Challenge 4: Find hidden content as a non admin user











Challenge 5: Find diagnostic data
  • I didn’t probe enough to find this J. Le me know if you find it

Challenge 6: Display a popup using: <script>alert(“XSS”)</script>
  • I didn’t probe enough to find this J. Le me know if you find it

Challenge 7: Access someone elses’ basket





















Challenge 8: Get the store to owe you money















Challenge 9: Change your password via a GET request
  • http://192.168.80.139:8080/bodgeit/password.jsp?password1=newpass&password2=newpass








2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. how to Force someone to add an item to their basket when they visit your webpage in bodegit application?

    ReplyDelete