synaplan Legacy API Access Control Flaws
2026-11-29
Unauthenticated attackers can take over accounts and read or write other users' data in Metadist Synaplan through 5.6.6 because the legacy WordPress-compatibility endpoint /api.php is registered as PUBLIC_ACCESS and resolves the acting user from an attacker-supplied user_id request parameter instead of the session. Calling action=createApiKey with a victim's user_id mints a live API key for that account (account takeover of any user with a verified e-mail and an active plan, including administrators), while action=getProfile discloses any user's PII and action=saveWidget writes into any user's widget with no gating at all; no credentials or user interaction are required and /api.php is exposed by default with no feature flag. The vendor shipped a fix in v5.6.7 (commit 644267a3, PR #2966); a public PoC reference exists but is not verified as working exploit code, and no CISA KEV entry indicates confirmed active exploitation.
Unauthenticated account takeover and cross-user data access in metadist Synaplan up to 5.6.6 arise from the legacy WordPress-compatibility endpoint /api.php, which is exposed as PUBLIC_ACCESS and derives the acting user from an attacker-supplied user_id request parameter rather than the session. With no credentials and no user interaction, a remote attacker can read any user's profile (getProfile), write into any user's widget configuration (saveWidget), and mint an API key for a targeted account (createApiKey) that then authenticates as that user; the key-issuance path is gated on the target having a verified e-mail and an active plan (administrators qualify, plan-less users return API_ADDRESS_UNVERIFIED), while the profile-read and widget-write paths carry no such gate. A public proof-of-concept reference exists in the vendor's GitHub security advisory; it is not verified as working exploit code, and there is no CISA KEV confirmation of active exploitation at time of analysis. The vendor fixed the issue in v5.6.7.