v1.5.1
This commit is contained in:
parent
054060374e
commit
74f1f42deb
1 changed files with 125 additions and 43 deletions
37
readme.txt
37
readme.txt
|
|
@ -4,7 +4,7 @@ Tags: security, two-factor authentication, login, otp
|
|||
Requires at least: 6.4
|
||||
Tested up to: 7.0
|
||||
Requires PHP: 8.0
|
||||
Stable tag: 1.5.0
|
||||
Stable tag: 1.5.1
|
||||
License: GPLv3 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
|
@ -59,6 +59,20 @@ Yes. Activate the plugin at the network level. Network administrators can set an
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 1.5.1 =
|
||||
|
||||
_Release date: 2026-06-06_
|
||||
|
||||
**Security**
|
||||
|
||||
* CSV exports (dashboard and WP-CLI) now use RFC 4180 encoding instead of `addslashes()` — fields with commas, double-quotes, or newlines are correctly quoted.
|
||||
* GeoIP database path validated at read time with `is_file()` and `! is_link()` to prevent symlink traversal.
|
||||
* `robotstxt_2fa_app_password_verification_window` filter return value validated as a positive integer before use.
|
||||
|
||||
**Fixed**
|
||||
|
||||
* Export CSV button is now only rendered to users with `manage_options` capability.
|
||||
|
||||
= 1.5.0 =
|
||||
|
||||
_Release date: 2026-06-05_
|
||||
|
|
@ -88,27 +102,6 @@ _Release date: 2026-06-05_
|
|||
* IP deny list — IPs and CIDR ranges that are blocked from logging in altogether.
|
||||
* All IP matching supports both IPv4 and IPv6 CIDR notation.
|
||||
|
||||
= 1.3.0 =
|
||||
|
||||
_Release date: 2026-06-05_
|
||||
|
||||
**Security**
|
||||
|
||||
* TOTP codes are now protected against replay attacks within the same 30-second time window. An accepted counter step is recorded in a transient for 90 seconds; a second submission of the same code is rejected.
|
||||
* The login username is no longer exposed in the `robotstxt-2fa-login` URL query parameter during the verification stage. It is replaced by an opaque 32-character token that resolves to the user server-side. All redirect URLs, hidden form fields, and method-switch links use this token.
|
||||
|
||||
**Added**
|
||||
|
||||
* WP-CLI command family registered as `wp 2fa`:
|
||||
* `wp 2fa status <user_id>` — show 2FA configuration for a user.
|
||||
* `wp 2fa enable <user_id> [--method=<method>]` — enable 2FA, optionally specifying the active method.
|
||||
* `wp 2fa disable <user_id>` — disable 2FA while preserving stored secrets and codes.
|
||||
* `wp 2fa reset-recovery <user_id>` — regenerate recovery codes and display them once.
|
||||
* `wp 2fa list [--role=<role>] [--without-2fa] [--format=<format>]` — list users and 2FA status.
|
||||
* `wp 2fa force-setup [<user_id>] [--role=<role>] [--method=<method>]` — enforce 2FA for a user or role.
|
||||
* `wp 2fa bypass <user_id> [--days=<n>]` — grant a temporary bypass for a locked-out user.
|
||||
* WP-CLI commands are only loaded when the `WP_CLI` constant is defined and truthy.
|
||||
|
||||
= Previous versions =
|
||||
|
||||
For the full changelog see the [changelog.txt](https://git.robotstxt.es/ROBOTSTXT/robotstxt-2fa/raw/branch/main/changelog.txt) file.
|
||||
|
|
|
|||
Loading…
Reference in a new issue