Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
exploit-CVE-2023-3460 — Exploit and analysis of CVE-2023-3460, a critical privilege escalation in the Ultimate Member WordPress plugin, with reproduction environment and mitigation guidance. | Kitploit
Tools/GitHubGitHub/julienbrs/exploit-cve-2023-3460
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubjulienbrs/exploit-cve-2023-3460

exploit-CVE-2023-3460

Exploit and analysis of CVE-2023-3460, a critical privilege escalation in the Ultimate Member WordPress plugin, with reproduction environment and mitigation guidance.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
162 years agoNot yet reviewed

title: "IT Security - CVE 2023-38408"

Analysis and exploitation of CVE-2023-3460

CVE IDCVSS ScoreDiscoveredAffected PluginVulnerability Type
CVE-2023-3460Critical07/04/2023Ultimate MemberUnauthorized Admin Access

Table of Contents

  • Introduction
  • General vulnerability mechanism
    • Role management mechanism in WordPress
    • Ultimate Member's poor implementation
  • Security target for CVE-2023-3460
    • Assumptions
    • Typical users
    • Assets to protect
    • Threats
    • Security functions
  • Typical Architecture
  • Vulnerability mitigation
  • Vulnerability experimentation
    • Reproduction
    • Details on exploit.py
  • Appendix
    • Glossary
    • Sources

Introduction

This study focuses on CVE¹-2023-3460, a critical vulnerability affecting the "Ultimate Member" WordPress plugin, allowing unauthorized privilege escalation. This plugin is widely deployed and used for profile management on WordPress sites. This vulnerability poses a major risk because it allows an attacker to obtain administrator rights and therefore full control of the site. This is why this flaw was classified as critical and rated 9.1 on the CVSS scale by NIST².

General vulnerability mechanism

CVE-2023-3460 exploits a flaw in the plugin's role and permission management. In WordPress, the WP_Capabilities³ function is used to manage user roles and permissions. This function allows administrators to define specific capabilities for each user role. However, improper use of this function can lead to privilege escalation vulnerabilities.

In the case of Ultimate Member, the vulnerability allows an attacker to bypass WP capability checks and gain administrator-level access to the site. The plugin operates by using a predefined list of user metadata keys that should not be manipulated by users. However, this security approach, based on blocklists, is often insufficient because it leaves room for bypasses.

Role management mechanism in WordPress

WordPress manages user roles and permissions through a structure called wp_capabilities. This structure is a serialized representation of the different roles and permissions granted to users. For example, an administrator will have a different set of capabilities than an editor or a contributor. These capabilities are stored in the WordPress database as serialized arrays in the wp_usermeta table.

Ultimate Member's poor implementation

The CVE-2023-3460 flaw originates from Ultimate Member's implementation of role and permission management. The plugin operates by using a predefined list of user metadata keys that users should not manipulate. This list is used to check whether users attempt to save these keys when creating an account. This approach is a common security anti-pattern, where blocking known harmful inputs (blocklists) may seem intuitive, but proves more complex than expected and often leaves room for security bypasses.

Here, Ultimate Member uses insufficient verification of metadata submitted during user registration. The plugin uses a function called is_metakey_banned to check whether the metadata submitted by the user is allowed. This function checks whether the submitted metadata appears in the list of banned metadata. If so, the function returns true and user registration is blocked. Otherwise, the function returns false and user registration is allowed.

However, WordPress accepts certain accented characters as default characters. If a user submits metadata with accented characters, the is_metakey_banned function will not detect them and user registration will be allowed.

Security target for CVE-2023-3460

Assumptions

Organizational security

The Ultimate Member plugin is widely used in various environments, ranging from small personal blogs to large e-commerce sites. No specific assumption can be made about the IT security skills of end users or site administrators.

Physical security

Servers hosting WordPress sites are generally located in secure data centers. For personal sites, physical security depends on the individual user's environment.

Logical security

It is assumed that the Ultimate Member plugin is installed and configured correctly according to the official instructions. The WordPress site is assumed to be kept up to date, with basic security measures in place.

Typical users

  • Site administrators: Manage the plugin configuration and overall site security.
  • Site users: Register and interact with the site via the Ultimate Member plugin.
  • Developers: Customize and extend the plugin's features for specific needs.

Assets to protect

  • A1 User data confidentiality: Personal information and login credentials.
  • A2 Website integrity: Protection against unauthorized modifications to the site's content or structure.
  • A3 Ultimate Member plugin integrity: Plugin source code and features.

Threats

  • T1 Unauthorized access: An attacker gains administrator privileges through the vulnerability.
  • T2 Malicious code injection: Modification of site behavior through code injection.
  • T3 Data leakage: Unauthorized access to confidential user data.
  • T4 Reputation damage: Negative consequences on reputation due to site compromise.

Threat coverage of assets

ThreatsA1 (User data confidentiality)A2 (Website integrity)A3 (Ultimate Member plugin integrity)
T1 Unauthorized accessXXX
T2 Malicious code injectionXX
T3 Data leakageX
T4 Reputation damageX

7.5 Security functions

  • F1 Secure role management: Robust mechanisms for managing roles and permissions.
  • F2 Input validation: Strict checks on submitted data to prevent malicious data injection.
  • F3 Security updates and patches: Regular plugin updates to fix known vulnerabilities.
  • F4 Training and awareness: Informing administrators and users about security best practices.

Typical Architecture

Web Server:

  • Hosts the WordPress site.
  • Typically an Apache or Nginx server on a Linux machine (may vary depending on the hosting provider or administrator preferences).
  • Connected to the Internet to allow access to the website.

Database Management System (DBMS):

  • Usually MySQL or MariaDB.
  • Stores WordPress site data, including user data managed by Ultimate Member.

WordPress with Ultimate Member Plugin:

  • WordPress installed with the Ultimate Member plugin for user profile management, registration, and role management.
  • May include other plugins and themes that can interact with Ultimate Member.

Network and Security:

Download Tool