Weak Backup Code Generation in WP 2FA Plugin by WordPress
CVE-2025-12628
6.3MEDIUM
Key Information:
Badges
👾 Exploit Exists🟡 Public PoC
What is CVE-2025-12628?
The WP 2FA WordPress plugin is compromised by a vulnerability that stems from insufficient randomness in the generation of backup codes. This weakness allows potential attackers to exploit the two-factor authentication mechanism by brute forcing the predictable backup codes. Consequently, this significantly undermines the protective layer of the plugin, potentially granting unauthorized access to users' accounts.
Affected Version(s)
WP 2FA 0 < 3.0.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V3.1
Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved
Credit
Benjamin Nadarević
WPScan