Blog

This week in web attacks: PHP, NGINX and WordPress patches pile up

It was a crowded week for patching. PHP, NGINX, WordPress and Java all shipped serious security fixes within a few days of each other. Meanwhile, the traffic hitting our sites was mostly the usual noise of bots and file probing.

What we saw on our sites

These figures come from the 16 sites DBshieldX protects, covering 17 to 23 November. We inspected 142,597 requests and flagged 10,463 of them, about 7% of the total. Of those, 8,083 were blocked. A further 32 were on sites running in monitor mode, where a request is logged but allowed through, and would have been blocked otherwise.

The biggest classes were:

  • Path probing (looking for files and paths that should not be public): 6,468
  • Bots (automated scanners and bad bots): 6,329
  • Suspicious behaviour (odd request patterns): 4,347

These three add up to more than the total, so some requests matched more than one class. Smaller counts came from exploit attempts (230), cross-site scripting (214), command injection (212), SQL injection (111), LDAP (64), NoSQL (59), server-side request forgery (29) and template injection (17).

By country, the servers sending the most flagged traffic were in Belgium (3,888), the US (1,618) and the Netherlands (1,052). That shows where the servers sit, not who is behind them. By network, about half the flagged traffic (5,375) came from servers hosted on Google’s cloud, followed by Amazon (997) and TechTies (822). Anyone can rent servers on these networks, so this says nothing about the companies themselves.

Daily detections ranged from 923 on 19 November to 2,104 on 17 November. The day before our week began, 16 November, was far heavier: 24,418 detections from 44,123 inspected requests, with 23,950 blocked. We have not tied that spike to any single cause.

What others reported

  • PHP security release. PHP fixed 18 flaws, including critical remote code execution bugs, as BleepingComputer reports. Patchstack says seven are rated critical and some affect WordPress setups. Its fixed versions are 8.5.13, 8.4.28, 8.3.37 and 8.2.36.
  • NGINX HTTP/2 flaws. Two critical bugs let unauthenticated attackers run code on servers. The Hacker News says one is ten years old and affects servers with HTTP/2 enabled. Wordfence lists fixed versions 1.30.7 and 1.31.9, and suggests disabling HTTP/2 if you cannot update straight away.
  • WordPress 7.1.5. This security release fixes 19 vulnerabilities in core, according to Wordfence. Wordfence also logged 388 new plugin and theme vulnerabilities in a single week, so most of the risk sits in third-party code.
  • Java4Shell. CISA urged immediate patching of a Java flaw that can lead to remote code execution. BleepingComputer says it affects applications built on Java, such as Jenkins, Jira and Keycloak.
  • Hijacked third-party scripts. Attackers tampered with Optimizely so that scripts loaded by many customer sites delivered card skimmers and iOS exploit code to visitors, BleepingComputer reports.
  • Drupal installer flaw. Drupal patched a critical flaw that lets unauthenticated attackers reinstall a site, though vulnerable configurations are uncommon.

How this relates

Most of what we flagged was low-effort: scanners and bots checking whether sensitive files or login pages are exposed. The headline bugs are a different kind of problem. They sit in the software underneath your site (the PHP runtime, the web server, the framework) and are only fully fixed by updating.

We cannot say whether any of this week’s flagged traffic was aimed at these specific flaws. We can say the techniques are familiar. Path traversal and SQL injection, which appear in recent advisories for Etherpad and Daptin, are the same families as our path and SQL injection classes. Rules-based detection like DBshieldX’s can catch known patterns and reduce noise, but it is a layer on top of patching, not a replacement. Newly disclosed bugs can take time to get good rules, and no firewall catches everything.

The Optimizely incident is also a reminder that a firewall in front of your server cannot see what a compromised third-party script does in your visitors’ browsers.

What to do this week

  1. Update PHP on every site and server. Move to the latest patch release for your branch (8.5.13, 8.4.28, 8.3.37 or 8.2.36), restart PHP-FPM or Apache, and confirm the running version. If you are on shared hosting, ask your host whether they have applied it.
  2. Check NGINX. Upgrade to 1.30.7, 1.31.9 or later, or get written confirmation from your host that they have patched. If you cannot update immediately, disable HTTP/2 as a stopgap.
  3. Update WordPress core to 7.1.5, then update plugins and themes. Remove anything unused or no longer maintained.
  4. Find your Java applications. If you run Jenkins, Jira, Keycloak or similar, update the Java runtime underneath them, restart the services, and check whether they need to be reachable from the internet at all.
  5. Audit third-party scripts. List every external script your sites load, remove what you do not need, and consider Subresource Integrity or a Content Security Policy to limit what those scripts can do.
  6. Look at your logs. Check for repeated requests to files and paths that should not exist on your site. If your firewall has a monitor mode, review what it would have blocked before switching to blocking.

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.