Blog

Urgent: second critical Drupal flaw is being exploited in attacks

Drupal’s security team has warned that attackers are actively exploiting a second critical flaw in the content management system. According to BleepingComputer, it lets them take over sites that have not been patched. If you run Drupal anywhere, treat this as a job for today.

What happened

BleepingComputer reports that this is the second critical Drupal problem to be used in real attacks, and that Drupal’s security team has told site owners to act now. The attacks are happening already, so this is not a theoretical risk. The report describes the outcome as a site takeover on unpatched installations.

We are not repeating technical details here. The source article and Drupal’s own security notices are the right place for the exact affected versions and fixes, and we would rather point you there than guess.

Does it affect you

It does if any site you look after runs Drupal core or contributed modules and has not yet had the latest security update. That includes sites that are easy to forget:

  • older client sites an agency still hosts
  • staging and test copies that are reachable from the internet
  • microsites and campaign pages built years ago

If you only run WordPress, plain PHP or Node sites, this flaw is not in your software. It is still worth asking whether a colleague or client has a Drupal site that nobody has looked at recently.

For context, the sites DBshieldX protects (16 in total) saw 2,253 detections today, 27 November, from 20,684 inspected requests, and 1,746 of those detections were blocked. That is the highest daily detection count among the eight days we have figures for. Our counts do not tell us whether any of this traffic relates to the Drupal flaw. Most of it is the usual background of automated scanners and probes for exposed files, and we are not claiming a link.

A firewall can reduce exposure to some hostile requests, and DBshieldX’s rules are built for that. It is not a substitute for installing the fix. Detection is rules-based and cannot promise to catch every attempt against a flaw that has only just become public.

What to do now

  1. List every Drupal site you are responsible for, including staging copies, old projects and sites hosted for clients. Note what version each one runs.
  2. Take a fresh backup of files and database before changing anything, and keep it somewhere the site itself cannot write to.
  3. Update Drupal core and contributed modules to the fixed versions straight away, following the guidance in Drupal’s security notices. If a site is abandoned and you cannot update it, take it offline.
  4. Check for signs of compromise. Look for administrator accounts you do not recognise, recently changed user roles, and files that have been modified or added unexpectedly, especially in upload and code directories.
  5. Review your web server logs for the last few days. Look for unusual requests to administrative or user-related pages, and for sudden bursts of activity from a single source.
  6. If you find anything suspicious, restore from a backup taken before the problem began, then patch before putting the site back online. Change administrator, database and hosting passwords and any API keys stored on the site.
  7. Tell clients if their site was exposed. A short, honest note is better than silence, particularly if personal data could have been reached.

If you cannot patch immediately, restrict access to administrative areas by IP address where you can, and consider putting the site in maintenance mode until the update is applied.

See it on your own traffic.

We'll run DBshieldX in monitor mode on one of your sites for a week, free, then walk you through what it would have blocked. Nothing is blocked until you say so.