WordPress security changelog
MEDIUM CVE-2022-3419 Modified

Automatic User Roles Switcher: Cross-site request forgery

Automatic User Roles Switcher is affected by cross-site request forgery. Exposure depends on how the affected operation is made reachable by the site. Exploitation relies on a signed-in privileged user submitting an attacker-controlled request.

CVE / CNA score 6.5 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score 6.5 CVSS 3.1 · nvd@nist.gov
Component
Automatic User Roles Switcher
Plugin slug
automatic-user-roles-switcher
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Oct 31, 2022
Weakness
CWE-269 — Improper Privilege Management
CWE-352 — Cross-Site Request Forgery (CSRF)

This CVE was published Oct 31, 2022 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update Automatic User Roles Switcher to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Automatic User Roles Switcher WordPress plugin before 1.1.2 does not have authorisation and proper CSRF checks, allowing any authenticated users like subscriber to add any role to themselves, such as administrator

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Primary and upstream sources