Skip to main content

DoLogin Security EUVDEUVD-2026-42167

| CVE-2026-14495 HIGH
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CWE-338)
2026-07-08 Wordfence GHSA-3585-g468-xfc2
8.8
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify target user numeric link ID
  2. Delivery
    Request unauthenticated init endpoint with ?dologin=id.hash
  3. Exploit
    Brute-force ~10^6 mt_srand seed space offline
  4. Execution
    Reconstruct valid 32-char magic-link token
  5. Persist
    Submit forged token, receive auth cookie
  6. Impact
    Authenticate as administrator without password

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic PRNG selection
Exploitation Conditions

Exploitation requires that a valid, unexpired DoLogin passwordless login link exists for the target account at the time of attack - such links remain active for up to 7 days after being generated - and that the account's auto-increment numeric link ID is known or guessable (low integer IDs for early/administrator accounts make this easy). Given those preconditions, no authentication is needed because Pswdless::try_login() runs on the unauthenticated 'init' hook and the plugin's brute-force lockout is bypassed entirely. Limiting factors: if no live magic link is currently issued for the target, the token cannot be forged; the attacker must correctly identify the numeric ID; and the entire attack hinges on the finite ~20-bit seed space, which is what makes brute-forcing feasible within the link's validity window.

Impact

This is a genuine high-priority issue: it yields full administrator account takeover with no password, and the attack surface (unauthenticated 'init' hook) is reachable by any anonymous visitor. The provided CVSS is 8.8 with vector AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:H, but the PR:L (authenticated) metric conflicts directly with the description, which repeatedly states the attacker is unauthenticated and reaches the code via an unauthenticated hook - this discrepancy should be verified with the vendor; an unauthenticated rating (PR:N) would push severity higher. The realistic limiter is not privilege but a precondition beyond the attacker's control: a valid, unexpired magic link (up to 7 days) must already exist for the target and its numeric link ID must be known or guessable - a condition that argues for higher attack complexity than the AC:L in the supplied vector. EPSS and KEV data were not provided, so exploitation probability and active-exploitation status are unknown; the absence of a KEV listing means this should be treated as a serious but not confirmed-in-the-wild threat. The bypass of the plugin's lockout and the finite ~10^6 seed space make offline brute-forcing highly automatable once a live link exists.

Exploit ScenarioDerived

An attacker triggers a passwordless login request for a known administrator (or waits for one to exist), then makes a request to the site's unauthenticated 'init' entry point with ?dologin=<admin_id>.<hash>, iterating the numeric admin ID from the low auto-increment primary key. Offline, they enumerate the ~10^6 possible mt_srand seeds, regenerate each candidate 32-character token, and submit the matching hash to have wp_set_auth_cookie() issue a valid admin session - no password and no lockout. No public exploit is identified at time of analysis, but the finite seed space and documented code paths make a working exploit straightforward to build.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 08, 2026

Authentication bypass in the DoLogin Security plugin for WordPress (all versions through 4.3) lets remote attackers forge passwordless magic-link tokens and log in as any user, including administrators. The 32-character token is generated by seeding the Mersenne Twister PRNG (mt_srand) with a value derived from microtime() that carries only ~20 bits of entropy, so the entire token is a deterministic function of a ~10^6-value seed space that can be brute-forced offline. No public exploit identified at time of analysis, but the flaw was reported by Wordfence and the vulnerable code paths are cited directly in the WordPress plugin repository.

RemediationAI

No vendor-released patch version is identified in the available data, so a fixed release cannot be cited; monitor the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/16bce371-b524-48eb-8537-3f9df802abd3?source=cve) and the WordPress.org plugin page for a release above 4.3 and upgrade as soon as it ships. As immediate compensating controls, disable the passwordless/magic-link login feature of DoLogin Security so no forgeable tokens are ever issued (trade-off: users lose passwordless login and must use standard credentials), and shorten the magic-link validity window well below the 7-day default to reduce the exposure window in which a live token can be brute-forced (trade-off: legitimate links expire sooner and may inconvenience users). Additionally restrict access to the login/init entry point with a WAF rule or rate-limit on requests carrying the ?dologin= parameter to blunt automated seed brute-forcing (trade-off: may block legitimate magic-link redemptions if tuned too tightly), and consider temporarily deactivating the plugin entirely if passwordless login is not business-critical.

Affected VersionsENISA

DoLogin Security 0 ≤4.3

Affected Packages

euvd dologin_security no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic weak-PRNG failure (CWE-338, Use of Cryptographically Weak PRNG). The plugin's dologin\s::rrand() token generator calls mt_srand((double) microtime() * 1000000), which discards the integer-seconds portion of microtime() and collapses the seed to roughly one million possible values (~20 bits). Every one of the 32 token characters is then drawn sequentially with mt_rand(), so knowledge of the seed fully reconstructs the token. Pswdless::try_login() compounds the flaw: it is bound to the unauthenticated WordPress 'init' hook, identifies the target account from the auto-increment numeric ID in the ?dologin=<id>.<hash> parameter, compares the hash with a non-constant-time '!=' operator (timing-side-channel exposure), and calls wp_set_auth_cookie() directly - bypassing wp_authenticate() and the plugin's own Auth::_has_login_err() brute-force lockout. Per the CPE (cpe:2.3:a:wpdo5ea:dologin_security), only the DoLogin Security plugin is affected; the underlying PHP mt_rand/mt_srand functions are not cryptographically secure and should never be used for security tokens.

Know when Dologin Security gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Unauthenticated 'init' hook means PR:N, but a live unexpired magic link must exist and the ID be known - a condition beyond attacker control - so AC:H; full account takeover gives C/I/A High.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The DoLogin Security plugin for WordPress is vulnerable to Authentication Bypass via Insufficient Randomness in all versions up to, and including, 4.3. The vulnerability exists because dologin\s::rrand() seeds the Mersenne Twister with mt_srand((double) microtime() * 1000000) - discarding the integer-seconds component of microtime() and constraining the seed to a range of approximately 10^6 values (~20 bits of entropy) - after which every character of the 32-character magic-link token is drawn sequentially with mt_rand(), making the entire token a deterministic function of that seed. Because Pswdless::try_login() is registered on the unauthenticated init hook, resolves the target account by the auto-increment numeric ID embedded in the ?dologin=<id>.<hash> parameter, performs the hash comparison using a non-constant-time != operator, and then calls wp_set_auth_cookie() directly - never passing through wp_authenticate() and therefore never triggering the plugin's own Auth::_has_login_err() lockout - an unauthenticated attacker can brute-force the ~10^6-candidate seed space to reconstruct an active passwordless login token and authenticate as any targeted user, including administrators, without a password. Exploitation requires that a valid, unexpired passwordless login link (active for up to 7 days) exists for the target account at the time of the attack, and that the numeric link ID is known or guessable from the auto-increment primary key.

Executive ViewAI

Why It Matters

The DoLogin Security WordPress plugin (versions through 4.3) contains an authentication bypass vulnerability that allows remote attackers to forge login tokens and gain unauthorized administrative access to affected WordPress installations. No vendor patch is currently available, creating immediate risk for organizations dependent on this plugin. Successful exploitation could result in complete compromise of WordPress sites, including unauthorized data access, malware deployment, and privilege escalation.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim controls: (1) Disable DoLogin Security plugin and implement alternative passwordless authentication mechanism; (2) Deploy Web Application Firewall (WAF) rules to detect and block forged token patterns and anomalous authentication sequences; (3) Enforce multi-factor authentication (MFA) for all WordPress administrator and privileged accounts; (4) Enable comprehensive authentication logging with real-time alerting for failed login attempts; (5) Restrict WordPress admin interface access via IP allowlist where operationally feasible; (6) Conduct daily audit of authentication logs for indicators of unauthorized access or token forgery attempts.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche WordPress security/login plugin, modest install base
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy