CVE-2024-36150
📋 TL;DR
This stored XSS vulnerability in Adobe Experience Manager allows attackers to inject malicious JavaScript into vulnerable form fields. When users visit pages containing these compromised fields, their browsers execute the attacker's code. This affects AEM versions 6.5.20 and earlier.
💻 Affected Systems
- Adobe Experience Manager
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal session cookies, perform actions as authenticated users, redirect to malicious sites, or install malware on user systems.
Likely Case
Session hijacking, credential theft, or defacement of web pages through injected content.
If Mitigated
Limited impact with proper input validation, output encoding, and Content Security Policy (CSP) headers in place.
🎯 Exploit Status
Exploitation requires access to vulnerable form fields; typically requires some level of access to the AEM interface.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 6.5.21 or later
Vendor Advisory: https://helpx.adobe.com/security/products/experience-manager/apsb24-28.html
Restart Required: Yes
Instructions:
1. Download AEM 6.5.21 or later from Adobe. 2. Apply the Service Pack following Adobe's upgrade documentation. 3. Restart the AEM instance. 4. Verify the update was successful.
🔧 Temporary Workarounds
Input Validation and Sanitization
allImplement strict input validation and output encoding for all form fields
Content Security Policy
allImplement CSP headers to restrict script execution
🧯 If You Can't Patch
- Restrict access to vulnerable form fields using AEM permissions
- Implement web application firewall rules to block XSS payloads
🔍 How to Verify
Check if Vulnerable:
Check AEM version via CRXDE Lite or OSGi console; if version is 6.5.20 or earlier, system is vulnerable.
Check Version:
Check via AEM welcome page or CRXDE Lite interface
Verify Fix Applied:
Verify AEM version is 6.5.21 or later and test form fields for XSS vulnerabilities.
📡 Detection & Monitoring
Log Indicators:
- Unusual form submissions with script tags
- Multiple failed XSS attempts in access logs
Network Indicators:
- HTTP requests containing script injection patterns
- Unusual outbound connections from user browsers
SIEM Query:
source="aem_access.log" AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")