Vulnerability record · CVE-2021-24195 · published 14 May 2021
CVE-2021-24195: Wp-buy login as user or customer \(user switching\) improper authorization vulnerability
Wp Buy · Login As User Or Customer \(User Switching\)
Low privileged users can use the AJAX action 'cp_plugins_do_button_job_later_callback' in the Login as User or Customer (User Switching) WordPress plugin before 1.8, to install any plugin (including a specific version) from the WordPress repository, as well as activate arbitrary plugin from then blog, which helps attackers install vulnerable plugins and could lead to more critical vulnerabilities like RCE.
Description
Low privileged users can use the AJAX action 'cp_plugins_do_button_job_later_callback' in the Login as User or Customer (User Switching) WordPress plugin before 1.8, to install any plugin (including a specific version) from the WordPress repository, as well as activate arbitrary plugin from then blog, which helps attackers install vulnerable plugins and could lead to more critical vulnerabilities like RCE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://wpscan.com/vulnerability/74889e29-5349-43d1-baf5-1622493be90c | ExploitPatchThird Party Advisory |
| https://wpscan.com/vulnerability/74889e29-5349-43d1-baf5-1622493be90c | ExploitPatchThird Party Advisory |
Track CVE-2021-24195 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-24195), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.