A wave of mass hacks of websites running Bitrix Site Manager and Bitrix24 was recently reported. Reports that appeared on June 28, 2022 mentioned dozens of hacked websites, but the exact number is still unknown. It is worth noting that 1C-Bitrix had already fixed all known vulnerabilities back in May of this year and sent out informational emails on the subject. Accordingly, hacks are only possible on websites that run outdated versions of the CMS.
How to update 1C-Bitrix
1C-Bitrix has officially stated that the current version of the CMS has no vulnerabilities. If you maintain your 1C-Bitrix website yourself, updating it is strongly recommended. To do this, you need an active license. Take the following steps:
- Create a backup of the website and make sure it exists.
- If possible, restore the backup to a staging copy and run the update there.
- If you have no problems with updates, you have not made changes to the core and all of the code supports PHP 7.4, you can update directly.
- If you need to update PHP and MySQL to current versions, first create a backup at the server or hosting level.
- After the update, check that all sections of the website work.
Additional security measures
Besides the recommendations above, there are several more ways to secure a website:
- Install an SSL certificate to protect data transfer between the server and users’ browsers. An SSL certificate encrypts data sent over the internet and keeps web traffic secure.
- Update the CMS and the extensions installed on the website to the latest versions. New versions may contain fixes for security vulnerabilities, which helps protect the website from potential attacks.
- Limit access to the website admin area to the users who need it. Do not give access to the admin area to all users, especially if they are not involved in managing the website.
- Use strong and unique passwords for all accounts on the website, including the database and FTP accounts.
- Restrict access to website files and folders where necessary. For example, if you use a CMS, you should restrict access to the folder with configuration files.
- Set up a monitoring system that lets you track changes on the website and respond quickly to security threats.
- Train your employees in security basics and create a security policy for your website. This helps minimize risks and protect the website from internal security threats.
Scanning for vulnerabilities and trojans
We advise scanning your website for vulnerabilities. To do this, go to Settings → Proactive Protection → Security Scanner and start a scan. After the scan, you can see which tests the website failed and follow the recommendations. The recommendations are also available under Settings → Proactive Protection → Security Panel.
For additional protection, we recommend installing the “Trojan Search” module from the Marketplace. After installation, you can find the module under Settings → bitrix.xscan → Trojan Search. Scan the website and fix the issues it finds.
If you notice suspicious changes on the website, try to find files that were modified recently. If you have console access, you can use a command to check each file manually. Check the agents for suspicious entries. You can do this under Settings → Product Settings → Agents.
If the website is already hacked
If your website has already been hacked and you have no access to the admin panel, first try to log in as an administrator without a password. If that does not help, restoring the hacked website will be difficult, so I recommend restoring the website from the latest backup and following all of the recommendations above. If you do not have backups, try requesting them from your hosting provider. If the host has none either, you will most likely have to restore the website manually, but before that, be sure to secure it so that you do not lose the results of your work. Do not forget to restore the /bitrix/.settings.php file (and /bitrix/php_interface/dbconn.php, if it was also deleted or modified), the modified home page and the deleted infoblocks.
If Bitrix cannot be updated
If you cannot update Bitrix, there are several ways to protect against hacking through vulnerabilities such as the one in the vote module. The first is to insert code into specific files, the second is to add restrictions at the nginx level. If you run into problems with security, updates or website recovery, you can ask for help.













