Wpc Shop As A Customer For Woocommerce
This issue allows for privilege escalation via account takeover. An authenticated attacker can gain full Administrator-level access to a site by supplying an Administrator's user ID to the 'wpcsa login' endpoint. The plugin fails to properly validate the target user's role before issuing a new authentication session, which enables the attacker to receive a full Administrator session cookie without providing the required password.