CVE-2024-41875

5.4 MEDIUM

📋 TL;DR

This CVE describes a stored Cross-Site Scripting (XSS) vulnerability in Adobe Experience Manager (AEM) versions 6.5.20 and earlier. It allows attackers to inject malicious scripts into vulnerable form fields, which execute in victims' browsers when they view the compromised page. Users of affected AEM versions are at risk, particularly if they interact with untrusted input in form fields.

💻 Affected Systems

Products:
  • Adobe Experience Manager
Versions: 6.5.20 and earlier
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: This vulnerability affects AEM instances with vulnerable form fields that accept user input without proper sanitization.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

An attacker could steal session cookies, redirect users to malicious sites, or perform actions on behalf of authenticated users, potentially leading to account takeover or data theft.

🟠

Likely Case

Attackers inject malicious scripts to steal user credentials or session tokens, compromising individual user accounts and enabling further attacks within the AEM environment.

🟢

If Mitigated

With proper input validation and output encoding, the risk is reduced to minimal, preventing script execution and limiting impact to potential data exposure without code execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires the attacker to have access to inject scripts into vulnerable form fields, which may involve authenticated access or social engineering.

🛠️ 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. Backup your AEM instance. 2. Download and apply the latest patch from Adobe's official site. 3. Restart the AEM service to apply changes. 4. Verify the patch by checking the version and testing vulnerable fields.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement server-side input validation and output encoding for all form fields to prevent script injection.

N/A - Requires code changes in AEM components

Content Security Policy (CSP)

all

Deploy a strict CSP to mitigate XSS by restricting script sources and inline execution.

N/A - Configure via AEM or web server settings

🧯 If You Can't Patch

  • Restrict access to vulnerable form fields by implementing role-based access controls and monitoring for suspicious input.
  • Deploy a web application firewall (WAF) with XSS protection rules to block malicious payloads.

🔍 How to Verify

Check if Vulnerable:

Check the AEM version via the admin console or by inspecting the installation directory; if it is 6.5.20 or earlier, it is vulnerable.

Check Version:

curl -s http://<aem-host>:<port>/system/console/status-productinfo | grep 'Adobe Experience Manager'

Verify Fix Applied:

After patching, confirm the version is 6.5.21 or later and test form fields with safe payloads to ensure scripts are not executed.

📡 Detection & Monitoring

Log Indicators:

  • Unusual input patterns in form submissions, such as script tags or JavaScript code in request logs.

Network Indicators:

  • HTTP requests containing malicious script payloads to AEM endpoints.

SIEM Query:

source="aem_logs" AND (message="*<script>*" OR message="*javascript:*")

🔗 References

📤 Share & Export