Joomla powers many sites for schools, organisations, public institutions and small businesses. Its flexibility and huge extension catalogue are also its weak spot: a site installed once and then forgotten for years becomes an easy target. Below is a practical checklist covering updates, extensions, the admin area, server settings and how to tell whether a site has already been breached.
Version first
Older Joomla branches, including 3.x, are out of official support, so their vulnerabilities are no longer fixed. Check your version under System Information in the admin panel and compare it with the currently supported branch announced on the official Joomla site. A good reminder is CVE-2023-23752 in early Joomla 4 releases, which let unauthenticated API requests read the site configuration, including database credentials. The fix arrived quickly, but unpatched sites stayed targets of mass scanners for a long time.
php cli/joomla.php core:update:check
php cli/joomla.php core:update
php cli/joomla.php extension:list
php cli/joomla.php user:list
Without SSH, use the Joomla Update component in the admin panel, and always take a full backup of files and database first.
Extensions are the usual entry point
In practice, third-party extensions are breached more often than the core, especially page builders, galleries, forms and upload components. Compare yours against the community's Vulnerable Extensions List, install updates regularly, uninstall (not just disable) anything unused, download only from the official directory or the developer's own site, and plan to replace extensions that have been abandoned. "Free" copies of paid extensions frequently ship with a backdoor.
Protect the administrator area
The admin panel always lives at /administrator, and bots try passwords there constantly. Since Joomla 4.2 the core supports multi-factor authentication with authenticator codes or security keys; make it mandatory for every Super User and keep that group to one or two people. As an extra layer, restrict the folder by IP or a server-level password:
# administrator/.htaccess (Apache)
<RequireAny>
Require ip 203.0.113.10
</RequireAny>
Replace the example IP with your own static address, or use password protection if your IP changes often.
Global settings and permissions
In Global Configuration enable Force HTTPS for the entire site and turn error reporting off on production. Rename the bundled htaccess.txt to .htaccess to activate its protective rules, and block PHP execution in images and media, where webshells like to hide.
# back up any existing .htaccess first
mv htaccess.txt .htaccess
chmod 444 configuration.php
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Signs of compromise
A breach rarely announces itself on the homepage. More often the site looks normal while unrelated pages show up in search results, server load climbs or spam leaves the server. A Super User you never created is a serious warning sign. These commands help:
find images media -name "*.php" -ls
find . -name "*.php" -mtime -3 -ls
grep -rl --include="*.php" -E "eval\(base64_decode|gzinflate\(base64" .
A school website in the Fergana region had not been updated for years and still used an old page builder. When server load suddenly spiked, investigators found PHP files inside images and an unknown Super User; a webshell uploaded through the extension had also installed a cryptominer. The cleanup went beyond deleting files: the rogue account was removed, all passwords including the database password were changed, Joomla and its extensions were updated and PHP execution in media folders was blocked.
A routine that works
Check for updates weekly, review users and extensions monthly, and keep tested backups stored elsewhere. On sayt.uz hosting you can inspect site files and cron jobs in the ISPmanager panel opened from your cabinet, and if you notice suspicious activity, open a support ticket.