WordPress 7.1.4, released on October 28, fixes a high-severity vulnerability in the WordPress core update process that can be exploited for remote code execution without logging in. According to web security firm Defiant, which makes Wordfence, attackers began trying to exploit it within hours of the patch.
The flaw is a race condition. During a full core update, WordPress unpacks the new files into a predictable staging directory that many servers leave reachable from the web. An attacker who finds that path and acts in the few seconds before WordPress cleans up the temporary files could abuse it. Defiant rates the attack complexity as high, and no CVE has been assigned yet.
Wordfence says its new firewall rule saw its first match nine minutes after deployment and logged more than 18,500 requests aimed at staged setup-config.php installer paths in the first 21 hours. It has not reported any successful compromises. The fix randomizes the staging directory, adds an index guard and blocks unsafe promotion of staged configuration data, and it has been backported to branches as far back as WordPress 4.7. Version 7.1.4 also patches 21 other security issues, including several XSS flaws.
Why it matters for your business
If your website runs on WordPress, confirm it is on 7.1.4 or the patched release for your branch, and make sure core updates and a web application firewall are active.
Source: SecurityWeek
