This week in web attacks: Drupal and WP Rocket exploited, Cacti zero-day unpatched
Several widely used web applications are being exploited this week, and a few have no vendor fix at all. On the 16 sites DBshieldX protects, most of the hostile traffic was still routine scanning and file probing, with a sharp spike on the last day.
What we saw on our sites
All figures below come from the sites DBshieldX protects, counted across all 16 of them for the seven days to 30 November.
- Requests inspected: 152,691
- Detections: 13,435, which is about 9% of requests inspected
- Blocked: 11,083, or roughly 82% of detections
- Flagged as would-block: 24, meaning requests that would have been blocked had those sites been running in block mode
The week was uneven. 30 November was by far the busiest day, with 5,299 detections and 4,991 blocked, against 24,333 requests inspected. That one day accounts for around 40% of the week’s detections. The quietest day was 29 November, with 494 detections and 192 blocked. Between those two, daily detections ran from about 1,000 to 2,250.
By class, the three biggest were suspicious request patterns (7,863), automated scanners and bad bots (7,508) and probing for files and paths (7,179). Some requests match more than one class, so these figures add up to more than the detection total. The injection-style classes were much smaller: 267 command injection, 216 exploit attempts, 210 cross-site scripting, 127 SQL injection and 58 server-side request forgery. LDAP, NoSQL and template injection together came to 21.
On origin, the largest share of detections came from servers hosted on Google Cloud (7,986), followed by servers hosted on Amazon (1,255), Techoff Srv Limited (898), TechTies Inc. (399) and Cloudflare (205). These are hosting and cloud providers, and anyone can rent servers there, so this says where the traffic was hosted and nothing about who sent it. By country of the servers, the top five were the UK (4,719), Belgium (1,909), the Netherlands (955), the US (889) and Germany (782). Again, that is where the servers sit, not where the people behind them are.
What others reported
- WP Rocket remote code execution, actively exploited. Patchstack reports that this popular WordPress caching plugin has a critical flaw that lets an unauthenticated visitor run code on the server, and that attacks are already happening. A virtual patch rule exists, but the plugin update is the real fix: version 3.24.2 or later.
- Drupal site takeover, actively exploited. The Drupal security team has confirmed that a critical flaw is being used to hijack unpatched sites, and a second critical flaw has since been added. The problems centre on the installer and on sites left in an incomplete installation state. Technical details have also been published.
- Cacti zero-day with a public proof of concept. Cacti is a PHP network monitoring tool. BleepingComputer reports an unauthenticated command execution flaw with no vendor fix yet. The Hacker News says it works through guest access.
- Backdoored WordPress plugins. After a developer’s account was compromised, six WP Connect plugins were backdoored. WordPress removed them before the malicious releases went live, but anyone who installed one earlier should check.
- WHMCS SQL injection. The billing platform many hosting companies use has an unauthenticated flaw that can expose customer records and admin password hashes without a login.
- GeoServer attacks. Attackers are exploiting two newly patched flaws in this Java mapping server, one allowing file reads and another that forms part of code execution chains.
How this relates
The reports are mostly about unauthenticated flaws that lead to code execution. Our own counts are mostly about the groundwork that comes before: scanners finding what a site runs, bots hunting for exposed files and odd request patterns. Those three classes made up the bulk of what we flagged, while the injection classes were a small fraction.
We cannot say whether any of this week’s detections were attempts against the specific flaws above. Our counts are by class, not by vulnerability. What we can say is that sites running WordPress, Drupal or similar software get steady automated attention whether or not a new flaw is in the news. When a flaw like the WP Rocket one becomes public, patching quickly matters more than any filter in front of it. A rules-based firewall such as DBshieldX can catch known attack patterns and reduce noise, but it does not replace updates and it will not stop every attack.
What to do this week
- Update WP Rocket to version 3.24.2 or later on every WordPress site you manage. If a site was behind on updates, look for unexpected files and unfamiliar admin users.
- Patch Drupal core and contributed modules, and confirm the installer is removed or blocked on every site. Finish or clean up any half-completed installs, then check for unknown admin accounts, changed files and stray PHP files.
- Take Cacti off the open internet if you run it. Restrict it to a VPN or trusted addresses, disable guest access, and watch for new PHP files until a fix appears.
- Audit your WordPress plugins. Check whether any WP Connect plugin is installed and remove it if so. Delete plugins you no longer use.
- Check WHMCS and GeoServer if either is in your estate. Apply the patches, reset admin passwords where the WHMCS flaw applied, and keep GeoServer’s service endpoints off the public internet.
- Review your logs for the groundwork. Look for repeated requests for configuration files, login pages and admin paths, and make sure your firewall is in block mode rather than only monitoring.