Skip to main content

CVE-2024-5939: GiveWP Authentication Bypass Vulnerability

CVE-2024-5939 is an authentication bypass flaw in GiveWP WordPress plugin allowing unauthenticated attackers to access setup wizard admin pages. This article covers the technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-5939 Overview

CVE-2024-5939 affects the GiveWP – Donation Plugin and Fundraising Platform for WordPress. The flaw exists in the setup_wizard function, which lacks a capability check across all versions up to and including 3.13.0. Unauthenticated attackers can access the setup wizard administrative pages that should be restricted to privileged users. The vulnerability is categorized as a Missing Authorization issue [CWE-862].

Critical Impact

Unauthenticated remote attackers can read GiveWP setup wizard administrative pages, exposing configuration details intended only for site administrators.

Affected Products

  • GiveWP – Donation Plugin and Fundraising Platform for WordPress
  • All versions through 3.13.0
  • WordPress sites running the give plugin

Discovery Timeline

  • 2024-08-20 - CVE-2024-5939 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-5939

Vulnerability Analysis

The GiveWP plugin exposes an onboarding wizard used by administrators to configure donation settings after installation. The setup_wizard function in src/Onboarding/Wizard/Page.php registers the wizard page without validating the requesting user's capabilities. Any visitor, including unauthenticated users, can reach the wizard rendering routine and read its contents.

The exposed data consists of administrative setup pages. While the vulnerability does not allow modification or denial of service, it leaks information intended for authorized operators only. This is a broken access control issue tied to a Network attack vector with low complexity and no authentication requirement.

Root Cause

The root cause is a missing authorization check inside the setup_wizard registration logic. The function should call a WordPress capability guard such as current_user_can('manage_options') before rendering the wizard. Without this guard, the handler trusts any request that reaches the registered page URL.

Attack Vector

Exploitation requires only HTTP access to the vulnerable WordPress site. An attacker issues a request to the GiveWP onboarding wizard endpoint and receives the rendered setup pages. No credentials, user interaction, or elevated privileges are required. See the Wordfence Vulnerability Analysis and the vulnerable function in the WordPress Give Plugin Code for implementation specifics.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2024-5939

Indicators of Compromise

  • Unauthenticated HTTP GET requests targeting GiveWP onboarding wizard URLs under wp-admin paths associated with the give plugin.
  • Access log entries showing wizard page responses returned to clients without an authenticated WordPress session cookie.
  • Repeated requests from the same source IP enumerating GiveWP admin pages.

Detection Strategies

  • Review web server access logs for requests to onboarding wizard endpoints that return HTTP 200 without a valid wordpress_logged_in_* cookie.
  • Inspect installed GiveWP plugin version against 3.13.0 and earlier using WordPress site inventory tools.
  • Correlate anonymous administrative page access with user-agent and IP reputation data.

Monitoring Recommendations

  • Enable WordPress audit logging to capture access to admin-area URLs and flag unauthenticated hits.
  • Deploy a web application firewall (WAF) rule to log and alert on requests to GiveWP onboarding paths from unauthenticated sessions.
  • Monitor plugin inventory for outdated GiveWP installations across managed WordPress hosts.

How to Mitigate CVE-2024-5939

Immediate Actions Required

  • Update the GiveWP plugin to a version later than 3.13.0 that includes the capability check fix.
  • Audit WordPress sites to identify instances running vulnerable GiveWP builds.
  • Review access logs for prior anonymous requests to the GiveWP setup wizard pages.

Patch Information

The vendor addressed the issue by adding a capability check to the setup_wizard function. The fix is published in the WordPress Give Plugin Changeset. Site operators should upgrade GiveWP to the patched release delivered through the WordPress plugin repository.

Workarounds

  • Restrict access to WordPress admin paths at the web server or WAF layer until the plugin is updated.
  • Temporarily deactivate the GiveWP plugin on sites that cannot be upgraded immediately.
  • Limit administrative URL access by source IP using server-side allowlists.
bash
# Configuration example: block unauthenticated access to GiveWP onboarding at the Nginx layer
location ~* /wp-admin/.*give.*onboarding {
    if ($http_cookie !~* "wordpress_logged_in") {
        return 403;
    }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.