CVE-2024-42171

6.4 MEDIUM

📋 TL;DR

HCL MyXalytics has a session fixation vulnerability where attackers can set a victim's session token via crafted URLs. This allows unauthorized access to authenticated sessions after the victim logs in. All users of affected HCL MyXalytics versions are vulnerable.

💻 Affected Systems

Products:
  • HCL MyXalytics
Versions: All versions prior to the fix
Operating Systems: All supported platforms
Default Config Vulnerable: ⚠️ Yes
Notes: All deployments using default session management are vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete account takeover leading to data theft, privilege escalation, and unauthorized administrative access to the MyXalytics platform.

🟠

Likely Case

Unauthorized access to victim's dashboard and data, potentially exposing sensitive business analytics and user information.

🟢

If Mitigated

Limited impact with proper session management controls, but still presents authentication bypass risk.

🌐 Internet-Facing: HIGH - Web applications with session fixation vulnerabilities are prime targets for internet-based attacks.
🏢 Internal Only: MEDIUM - Internal attackers could still exploit this, but external threat surface is more significant.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Session fixation attacks are well-understood and easy to implement with basic web security knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check vendor advisory for specific patched version

Vendor Advisory: https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0118149

Restart Required: Yes

Instructions:

1. Review HCL advisory KB0118149. 2. Download and apply the latest patch from HCL. 3. Restart MyXalytics services. 4. Verify session management is properly implemented.

🔧 Temporary Workarounds

Session Regeneration on Login

all

Force generation of new session ID after successful authentication

Implement session_regenerate_id() after login validation

HTTP Strict Transport Security

all

Enforce HTTPS to prevent session token interception

Add Strict-Transport-Security: max-age=31536000; includeSubDomains header

🧯 If You Can't Patch

  • Implement web application firewall rules to detect and block session fixation attempts
  • Enable detailed logging of session creation and authentication events for monitoring

🔍 How to Verify

Check if Vulnerable:

Test if session ID remains unchanged after authentication by capturing pre-login and post-login session tokens

Check Version:

Check MyXalytics admin console or application logs for version information

Verify Fix Applied:

Verify that new session token is generated after successful login and old session tokens become invalid

📡 Detection & Monitoring

Log Indicators:

  • Multiple session creations from same IP with different tokens
  • Session ID reuse across different user agents
  • Authentication events without preceding session regeneration

Network Indicators:

  • URLs containing session tokens in parameters
  • Multiple authentication requests with same session ID

SIEM Query:

source="myxalytics" AND (event="session_create" OR event="authentication") | stats count by session_id, src_ip

🔗 References

📤 Share & Export