Temporary Login <= 1.0.0 - Authentication Bypass to Account Takeover
48Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 9.8epss 9.2%
from disclosure to weapon25 days
Published on NVDMay 1
1st PoC+25d
exploitation probability
9.2%top 5% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
The Temporary Login plugin for WordPress is vulnerable to Authentication Bypass in versions up to and including 1.0.0. This is due to improper input validation in the maybe_login_temporary_user() function, which fails to verify that the 'temp-login-token' GET parameter is a scalar string before processing it. When the parameter is supplied as an array, PHP's empty() check is bypassed and sanitize_key() returns an empty string, which is then passed as the meta_value to get_users(). WordPress ignores an empty meta_value and returns all users matching the meta_key '_temporary_login_token', allowing authentication without a valid token. This makes it possible for unauthenticated attackers to authenticate as any active temporary login user by sending a single crafted GET request.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
elemntor · Temporary Loginpublic PoCs found — 1
exploitdbwww.exploit-db.com/exploits/52575unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://plugins.trac.wordpress.org/browser/temporary-login/tags/1.0.0/core/admin.php#L135https://plugins.trac.wordpress.org/browser/temporary-login/tags/1.0.0/core/admin.php#L179https://plugins.trac.wordpress.org/browser/temporary-login/tags/1.0.0/core/options.php#L157https://plugins.trac.wordpress.org/browser/temporary-login/trunk/core/admin.php#L135https://plugins.trac.wordpress.org/browser/temporary-login/trunk/core/admin.php#L179https://plugins.trac.wordpress.org/browser/temporary-login/trunk/core/options.php#L157https://www.wordfence.com/threat-intel/vulnerabilities/id/f97c669b-86c1-4873-a050-76972f494099?source=cve