The probably most common case for
hacked Joomla websites
is that a SQL injection vulnerability was exploited. A typical URL which is affected by this type of vulnerability looks like this:
Typically the following parameters are vulnerable:
- cat, category, kat, categories, kats, cats
- id, userid, katid, catid
- sometimes also Item, entry, page
You can find out if a parameter is vulnerable when you change its value from e.g.
category=5 to category='
Press enter and look for
in the website. If you find one, you might have discovered a SQL inkjection vulnerability.
In order to give you a better understanding and feeling of how vulnerable URLs might look like, I just show you some URLs which are known to be vulnerable (I discovered them):
Notice how many parameters look familiar to you? Yes, I mentioned them earlier as well-known parameters which are affected on regular basis :)
Since every Joomla database contains the same structure (like the same tables etc.), we know enough to inject a SQL statement:
The selected information will be shown within the website.
Select a username and password from the table and try to crack the MD5 hash with the help of raindbow tables.
SQL injections in Joomla give us so much freedom as we can get. You can select everything you want from the database, and if you are lucky, there are also other tables in the databases which do not belong to Joomla but still contain some very interesting information.