WordPress Plugin MasterStudy LMS 2.7.5 – Unauthenticated Admin Account Creation
WordPress Plugin MasterStudy LMS version 2.7.5 is vulnerable to unauthenticated admin account creation. An attacker can send a POST request to the /wp-admin/admin-ajax.php endpoint with the action parameter set to stm_lms_register and the nonce parameter set to a valid nonce. The request body should contain a JSON object with the user_login, user_email, user_password, user_password_re, become_instructor, privacy_policy, degree, expertize, auditory, additional, additional_instructors, and profile_default_fields_for_register parameters. The profile_default_fields_for_register parameter should contain a wp_capabilities object with the value set to {administrator: 1}. This will create an admin account with the specified username and password.