Admin Tools for WordPress 2.1.0 Stable

Released on: 2026-11-23 05:14 CST

Security release

This is a security release. If you are using the .htaccess Maker, or Web.Config Maker on your site you need to regenerate that file. If you are on NginX, we now have an NginX Conf Maker which will help you apply the same kind of server-level protection on your site.

Following a report from Stefan Arndt (01werk.de) about a possible protection bypass abusing the way SEF URLs work, we brought the security audit of the generated server configuration files forward by a month. We found a number of edge cases and conflicting goals in the options found in those features. We ended up overhauling the server configuration file makers to address these issues.

We would like to clarify that none of the issues we found opened a door for an attacker to hack your site. Instead, they didn't close the door for an attacker trying to abuse an existing vulnerability in WordPress itself or a third-party plugin under certain uncommon / unlikely conditions. To the best of our knowledge, nobody had tried that before, and whether they can be useful in practice to an attacker trying to exploit a real world vulnerability on third-party code is very situational at best. Regardless, the whole point of the server configuration file maker features in Admin Tools is defense-in-depth, which led us to treat these issues as security-relevant.

IMPORTANT: WordPress gives plugins a way to manage custom .htaccess rules which only apply on Apache and LiteSpeed; these are honoured when using the .htaccess Maker. WordPress does not have an equivalent feature for IIS (web.config) and NginX servers. When using the Web.Config Maker and NginX Conf Maker you are responsible for adding any custom directives necessary for third-party plugins into the respective config file maker in Admin Tools; we provide two text boxes for code to add at the top and bottom of the generated file for this reason.

Other security fixes

The same audit covered the rest of the plugin. Besides the server configuration makers, this release fixes stored and reflected cross-site scripting (XSS) issues, several cross-site request forgery (CSRF) gaps, log and email injection through crafted login names, path traversal in Fix Permissions, a Server-Side Request Forgery (SSRF) in the RFI shield, and a bypass of the frontend PHP File Change Scanner key check. Details are in the changelog.

The update stream is now fetched over HTTPS, and the package checksum is verified before installing an update.

What's new

NginX Conf Maker

NginX has no .htaccess equivalent, so until now NginX sites had no server-level protection from Admin Tools. The new NginX Conf Maker generates a security-hardened NginX configuration for WordPress. You can also generate it from WP-CLI with wp admintools nginxmaker. NginX does not read the file by itself: include it from your server block and reload NginX.

Admin Tools now reminds you in the admin area when an Admin Tools-made .htaccess, nginx.conf or web.config is out of date and needs to be regenerated.

PHP File Change Scanner and WordPress core checksums

The scanner now verifies WordPress core files against the checksums of the officially released versions of WordPress (using our CoreSums service, not WordPress' one, for much better efficiency). Modified core files are reported as Invalid Checksum, and unexpected files inside core folders as Non-core files. The scanner CLI script now loads WordPress, instead of guessing the site's settings.

WAF Deny List page, and settings export and import

The new WAF Deny List page, in the Web Application Firewall menu, lets you add, edit and delete WAF Deny List rules without WP-CLI. Export Settings and Import Settings now include these rules, also from WP-CLI (wp admintools export / import).

Crawlers

Configure WAF, Crawlers lets you block, or never block, search engine and AI crawlers, using the IP lists their operators publish.

WAF and server configuration reminders

The Control Panel warns you when the WAF must-use plugin is out of date and offers to update it. An admin area reminder also appears while the WAF debug log file is enabled, because that file records request data and should not stay on.

Behaviour changes to check after updating

Never block these IPs no longer lets malicious requests through

Previously, an IP in Never block these IPs was treated as fully trusted: its malicious requests were let through. That was wrong. Anyone can make a search engine crawler, or a shared gateway, fetch a crafted URL on your behalf, which would let them relay an attack past the WAF. These IPs are now exempt from logging and auto-ban only: a malicious request from them is still blocked, but it is not logged, emailed or counted towards an automatic ban. If you need an IP to bypass the WAF entirely, use the Administrator IP whitelist.

Whitelisted domains defaults

The Whitelisted domains list no longer includes search engine domains by default, nor does Quick Setup add them. If your list still holds the old, unchanged default, it is emptied. Use the new Crawlers options to handle search engines. Reverse DNS results are now also checked to resolve back to the visitor's IP, and empty entries (e.g. a trailing comma) no longer stop logging and auto-banning.

Admin Tools Core

The Core release no longer bans IPs automatically, since the Auto-ban settings only exist in Professional. A banned IP in Core would require editing the database directly to unblock, making it very counter-intuitive for users.

Notable bug fixes

  • Monitor Super Users and Obsolete admin accounts: the login block never fired, so blocked administrators could still log in. Monitor Super Users also watched nobody if more than one role was selected.
  • Optimize WAF: it had no effect on PHP 8 running as an Apache module. If you use it, check the Optimize WAF page after updating.
  • WAF Deny List rules defined with wp admintools wafdeny: they were never applied. Review your rules, as they will start blocking requests.
  • Editing wp-config.php: values containing ) or ; could be corrupted and white-screen the site. The file is now written atomically.
  • WAF after a manual update: updating the plugin outside the WordPress updater, e.g. by uploading a ZIP, could leave the site without WAF protection. The new must-use plugin warning helps catch this.
  • Unblock an IP: the form caused a fatal error in the free version.

Changelog

Critical bugs and important changes

  • Never block these IPs: malicious requests from these IPs are now blocked, only not logged or auto-banned
  • Server configuration makers (.htaccess, NginX, web.config): many security and bug fixes. Regenerate your file.
  • Stored XSS in the Security Exceptions page through logged request data

New features

  • Admin area reminder to regenerate an Admin Tools-made .htaccess, nginx.conf or web.config which is out of date
  • Admin area reminder while the WAF debug log file, which records request data, is enabled
  • Configure WAF, Crawlers: block, or never block, search engine and AI crawlers by the IP lists their operators publish
  • Control Panel warns when the WAF must-use plugin is out of date, and offers to update it
  • Export and Import Settings include the WAF Deny List rules, also from WP-CLI (wp admintools export / import)
  • NginX Conf Maker: a security-hardened NginX configuration for WordPress, also from WP-CLI (wp admintools nginxmaker)
  • PHP File Change Scanner verifies WordPress core files against CoreSums (Invalid Checksum, Non-core files)
  • WAF Deny List page in the Web Application Firewall to add, edit and delete the WAF Deny List rules

Bug fixes

  • [HIGH] CR/LF in the login username allowed forging lines in the breach log file and notification emails
  • [HIGH] CSRF attacks could write server configuration, toggle the WAF auto-prepend, import lists and chmod files
  • [HIGH] Editing wp-config.php no longer corrupts constant values containing ")" or ";" (could whitescreen the site)
  • [HIGH] Frontend PHP File Change Scanner URL failed with a fatal error after its first step
  • [HIGH] Frontend scanner key comparison bypassed with a "0e" magic hash secret word and ?key=0
  • [HIGH] Malicious requests from Never block these IPs were let through instead of blocked without logging
  • [HIGH] Monitor Super Users monitored nobody when more than one role was selected
  • [HIGH] Monitor Super Users: the login block never fired, blocked rogue administrators could still log in
  • [HIGH] Obsolete admin accounts: the login block never fired, blocked administrators could still log in
  • [HIGH] Optimize WAF had no effect with PHP 8 as an Apache module: the WAF did not run before WordPress loads
  • [HIGH] Reflected XSS in admin list views through URL-decoded query parameters in links
  • [HIGH] Stored XSS via the sign-up User-Agent and markup injection into breach notification emails
  • [HIGH] Temporary Super Users: reusing an existing username always failed with "Sorry, that username already exists!"
  • [HIGH] Unblock an IP now works on the free version (submitting the form previously caused a fatal error)
  • [HIGH] Update channel: fetch the stream over HTTPS and verify the package checksum before installing
  • [HIGH] WAF Deny List rules (wp admintools wafdeny) were never applied: matching requests were not blocked
  • [LOW] A "###" printed by another plugin broke the update notice, graphs and "Unblock my IP" button, and scans
  • [LOW] Admin list search filters escape SQL LIKE wildcards
  • [LOW] Advanced WP Config string options could inject PHP code into wp-config.php
  • [LOW] Appending a value to a configuration path which did not exist yet caused a fatal error
  • [LOW] Auto-ban: requests not logged (Do not log these reasons, or logging off) could still get an IP banned
  • [LOW] Away Schedule in auto-prepend mode: redirected to an empty address when no WordPress Address was stored
  • [LOW] Block reason lists offered Geo Block, which WordPress does not have, but not Frontend Edit Admin User
  • [LOW] Block reason lists offered Site IP Blacklist, Away Schedule and Other, which the WAF never logs
  • [LOW] CSS source maps no longer ship in the packages
  • [LOW] Clearing the custom login URL left an empty Admin Tools section in .htaccess
  • [LOW] Configure WAF: a role or block reason list could not be emptied; it kept its items or returned to its default
  • [LOW] Configure WAF: an emptied Whitelisted domains or blocked IP message came back as its default
  • [LOW] Configure WAF: an invalid Away Schedule time silently turned the Away Schedule off instead of being refused
  • [LOW] Configure WAF: the Away Schedule help said the times are in UTC; they are in the WordPress time zone
  • [LOW] Configure WAF: the block reasons not logged or emailed defaulted to Geo Block, which WordPress does not have
  • [LOW] Control Panel: the "Unblock my IP" button never showed with the graphs turned off
  • [LOW] Core release no longer ships dead Pro scanner and wp-config engine code
  • [LOW] Core release no longer ships the Pro-only blocked email domains feature
  • [LOW] Core release no longer ships the unreachable frontend scanner entry point
  • [LOW] Core: IPs were automatically banned, although the Auto-ban settings are only in Professional
  • [LOW] DFIShield blocked parameters naming a folder or an unreadable file, e.g. ?rest_route=/ or redirect_to=/home
  • [LOW] Dashboard widget and admin dispatcher are now gated by the manage_options capability
  • [LOW] Documented that NginX users must protect the Admin Tools log and tmp folders from web access
  • [LOW] Documented that the frontend scanner Secret Word is a log-visible bearer credential
  • [LOW] Emptying the IP lookup service reset it to the default service over plain HTTP instead of HTTPS
  • [LOW] Escaped unescaped values in inline JavaScript, notices, list views and the error page
  • [LOW] Every change made by Admin Tools added a blank line to .htaccess
  • [LOW] German translation: quotations were closed with a straight double quote instead of “
  • [LOW] Hardened config writes against symlink swaps and fixed cache, MIME and redirect headers
  • [LOW] IPs in Never block these IPs, Whitelisted domains or the Administrator IP whitelist could still be auto-banned
  • [LOW] Import Settings and wp admintools import: a file with an error was imported in part, up to the error
  • [LOW] Input objects no longer break after unserialization; AES support check no longer crashes without ext-mcrypt
  • [LOW] Marking a file safe only stuck when done in the latest scan's report; it now applies to that file version
  • [LOW] PHP File Change Scanner CLI script: --quiet still printed a line, so CRON emailed after every scan
  • [LOW] PHP File Change Scanner log named the wrong path for skipped files and directory symlinks
  • [LOW] PHP File Change Scanner scanned the last file of each batch in a large folder twice
  • [LOW] PHP File Change Scanner: front-end scans could stop after one step when downloading the WordPress core checksums
  • [LOW] PHP File Change Scanner: front-end scans with Generate diffs could stop after one step on PHP 8.2 and later
  • [LOW] PHP File Change Scanner: the code default for "Only email when there are actionable items" disagreed with the Options page default on sites which had never saved their Options
  • [LOW] PHP File Change Scanner: wp-config.php was reported as suspicious on some sites because of its random salts
  • [LOW] Password-protect WP Administration: bcrypt was never used on Apache 2.4, APR-1 was used instead
  • [LOW] PhpTokenizer no longer reports wrong lines and content when skipping lines
  • [LOW] Removed dead HHVM diagnostic page and .gitkeep placeholders from the packages
  • [LOW] Scans list date filter now requires a fully valid date format
  • [LOW] Scheduling Information: the “Important” label was in English in the German, Spanish and French translations
  • [LOW] Security hardening: DFIShield did not detect file paths starting with a Windows drive letter
  • [LOW] Spanish and Italian translations: the “Remember me” login option label lost its closing quote
  • [LOW] Temp Super Users no longer overwrites your account when reusing an existing username
  • [LOW] The PHP File Change Scanner page no longer has the wrong page title
  • [LOW] The leaked password check no longer reflects the tried password in its error
  • [LOW] Version numbers carrying a release candidate or dev qualifier were normalised with the wrong revision number
  • [LOW] WAF Email Templates: saving a template whose reason is no longer offered changed its reason
  • [LOW] Web Config Maker form, scan start/step and update reload now verify their nonces
  • [LOW] Whitelisted domains help said their visitors are never blocked; their malicious requests are still blocked
  • [LOW] quoteName() now escapes backticks in database identifiers
  • [LOW] wp admintools waf set: a list option given a nested JSON array printed a PHP warning and saved the word "Array"
  • [LOW] wp admintools wafdeny: misleading query help; accepted rules which block every request or can never match
  • [LOW] wp admintools wafdeny: the help called --option a component and gave a Joomla example (com_example)
  • [MEDIUM] Away Schedule refused admin-ajax.php and admin-post.php to visitors, breaking plugins' public area features
  • [MEDIUM] CSRF protection added to the Control Panel's unblock-my-IP feature
  • [MEDIUM] CSRF protection on scan alert, purge, IP workarounds and DB repair tasks; fixed an open redirect
  • [MEDIUM] CSRF tokens are now scoped to the request method; GET nonces no longer authorise POSTs
  • [MEDIUM] CSV exports could be used for spreadsheet formula injection and broke on quotes or line breaks in data
  • [MEDIUM] Core: the Enable IP workarounds option had no effect
  • [MEDIUM] Custom Error Reporting now actually applies the configured error reporting level
  • [MEDIUM] Custom login URL: clearing it left its rewrite rules in .htaccess
  • [MEDIUM] Custom login URL: invalid characters were written into .htaccess and could break or inject rules
  • [MEDIUM] Custom login URL: the .htaccess rules missed the site path when WordPress is in a subdirectory
  • [MEDIUM] Direct web access to the CLI scripts now fails closed instead of falling through
  • [MEDIUM] Disable XML-RPC left pingbacks and other unauthenticated methods working on WordPress 5.7.3 and later
  • [MEDIUM] Fix Permissions could list folders and chmod files outside the site root via path traversal
  • [MEDIUM] Frontend PHP File Change Scanner URL could not redirect to its next step on PHP 8 with display_errors on
  • [MEDIUM] Import Settings and wp admintools import: WAF exceptions were deleted, and the ones in the file not imported
  • [MEDIUM] Mark All Safe skipped files with a zero threat score, so it did nothing on reports of new/modified files
  • [MEDIUM] Master Password lockdown now covers every Admin Tools view, including the previously missing ones
  • [MEDIUM] Numeric HTML entities in filtered input crashed on PHP 8 and decoded to garbage
  • [MEDIUM] PHP File Change Scanner CLI: warnings issued by the last step, including failures to send the scan results email, were silently discarded
  • [MEDIUM] PHP File Change Scanner failed, or never finished, when a large folder lost files during the scan
  • [MEDIUM] PHP File Change Scanner ignored the Minimum Request Time, and paused slow steps for longer instead
  • [MEDIUM] RFI shield SSRF: it no longer fetches loopback, private, link-local or multicast URLs
  • [MEDIUM] Saving Advanced WP Config, wp admintools waf set or an import reset the IP lookup service to plain HTTP
  • [MEDIUM] Security hardening: Away Schedule and other WAF features did not always recognise wp-admin requests
  • [MEDIUM] Security hardening: DFIShield did not check every request parameter
  • [MEDIUM] Security hardening: DFIShield did not check relative file paths
  • [MEDIUM] Security hardening: Disable creating / editing admin users from the frontend did not cover every entry point
  • [MEDIUM] Security hardening: Request Filtering and Project Honeypot did not check every request they should
  • [MEDIUM] Security hardening: Whitelisted domains did not check that the host name resolves back to the visitor's IP
  • [MEDIUM] Turning off "Send troubleshooting email" did not stop the troubleshooting emails
  • [MEDIUM] Visitors could spoof the IP the WAF logs and bans via X-Forwarded-For etc., even with IP workarounds off
  • [MEDIUM] WAF stopped protecting the site after updating the plugin outside the WordPress updater (e.g. ZIP upload)
  • [MEDIUM] Whitelisted domains: an empty entry, e.g. a trailing comma, stopped logging and auto-banning most visitors
  • [MEDIUM] wp-config.php is now written atomically (a concurrent request can no longer catch a partially written file)

Miscellaneous changes

  • PHP 8.5 preparation: ReflectionProperty::setAccessible() is no longer called on PHP 8.1 and later
  • PHP 8.5 preparation: the non-canonical (boolean) cast is deprecated in favour of (bool)
  • PHP 8.6 preparation: is_integer was deprecated in favour of is_int
  • PHP File Change Scanner CLI script: loads WordPress instead of guessing the site's settings
  • Whitelisted domains: no search engine domains by default or from Quick Setup; an unchanged old default is emptied

Release files

Admin Tools for WordPress Core

admintoolswp-2.1.0-core.zip

1.29 Mb

PHP 7.4 PHP 8.0 PHP 8.1 PHP 8.2 WordPress 6 PHP 8.3 PHP 8.4 PHP 8.5

Download now