Hide Admin Bar Based On User Roles < 3.1.0 - Cross-Site Request Forgery

4.3
Cross-Site Request Forgery (CSRF)
CVSS 4.3 (Medium)
Publicly Published February 21, 2022
Last Updated January 22, 2024
Researcher Jan w Oleju

Description

The Hide Admin Bar Based On User Roles plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions before 3.1.0. This is due to missing or incorrect nonce validation on the save_user_roles function. This makes it possible for unauthenticated attackers to arbitrarily change plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

References

Share

Vulnerability Details for Hide Admin Bar Based on User Roles

Software Type Plugin
Software Slug hide-admin-bar-based-on-user-roles (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.1.0, or a newer patched version
Affected Version
  • < 3.1.0
Patched Version
  • 3.1.0

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation