
Thursday is here and it’s time for more THM!
Today we start off with ORM Injection which is a topic I have never touched so this should be insightful!




























Flag – THM{SECURED_001}




https://10-10-55-245.p.thmlabs.com/query_users?sort=name

https://10-10-55-245.p.thmlabs.com/query_users?sort=name-%3E%22%27))%20LIMIT%2010%23

Flag – THM{101}






Now we move on to the Injectics challenge room!

http://10.10.220.139/

view-source:http://10.10.220.139/

<!-- Website developed by John Tim - [email protected]>
<!-- Mails are stored in mail.log file-->
http://10.10.220.139/mail.log
In this mail.log file in mentions if the table gets deleted then the default credenitals which are show below are able to be used to maintain access to the application.

| Email | Password |
|---------------------------|-------------------------|
| [email protected] | superSecurePasswd101 |
| [email protected] | devPasswd123 |
view-source:http://10.10.220.139/script.js
We can see from the below screenshot that the application has included invalidKeywords which blocks the use of the normal OR operator so this cannot be used

We use the || which represents the SQL OR operator instead

http://10.10.220.139/dashboard.php

We drop the table in order to use the default credentials found within the mail.log file found earlier

http://10.10.220.139/dashboard.php



Flag – THM{INJECTICS_ADMIN_PANEL_007}




SSTI Is present within the admin section of the application






Flag – THM{5735172b6c147f4dd649872f73e0fdea}

New Title –

New Rank –

I must say I struggled alot with this section of the pathway as Injection attacks are not my speciality (not that much is overall) and I needed help with this final box as I simply could not get it.
I’m going to keep on keeping on because alot of the stuff covered within this module/section of the pathway I had not encountered as of yet during my time testing/training and I do feel some creeping doubt about my abilities however, I need to keep going as there is stuff to do and things to learn!
The only way to progress is to fail and fail again and maybe one day I’ll get it!


Until next time & don’t sleepwalk through life!
Hwyl fawr
