newfold-labs/wp-module-data is vulnerable to Authentication Bypass
88
High Risk
authenticate() on the rest_authentication_errors filter treats a Bearer token as an HMAC of the HTTP method, host, URI, body, and X-Timestamp. When HiiveConnection::get_auth_token() is empty, that HMAC is computed with hash('sha256', '') as the secret, so anyone can forge a matching Bearer token. A matching token causes wp_set_current_user() to run for the first administrator, which authenticates the REST request as that admin. The fix returns early when no Hiive connection token is stored instead of verifying a signature against an empty secret.
You are affected if you are using a version that falls within the vulnerable range and the site has no stored Hiive connection token.
newfold-labs/wp-module-data is vulnerable to Authentication Bypass in versions 2.1 - 2.9.7.
Upgrade the newfold-labs/wp-module-data library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.