Identity Manager wpClientServlet Unauthenticated XXE Vulnerability
search cancel

Identity Manager wpClientServlet Unauthenticated XXE Vulnerability

book

Article ID: 434616

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

A high-severity security vulnerability exists in the /iam/im/wpClientServlet endpoint. An unauthenticated attacker can send a specifically crafted XML payload via a POST request to this servlet. Customers have reported unauthorized access attempts and potential Remote Code Execution (RCE) risks associated with this and related Workpoint endpoints such as /iam/im/wpQMonitor.

Confirmed impacts include:

  • Unauthorized File Disclosure: Reading sensitive system files (e.g., /etc/, /home/).
  • Network Scanning: Scanning for open ports on local or connected systems.
  • System Interaction: Accessing restricted functionalities of connected systems.
  • Directory Traversal: Engineering has validated that a POST request can return Linux server folder details directly in the response.

Environment

Product: Identity Manager
Version: 14.5.1 CHF1

Cause

The vulnerability is caused by an External Entity Injection (XXE) flaw in the XML processing logic of the wpClientServlet. The application fails to properly disable or sanitize external entity references within the XML message body.

Resolution

A permanent fix has been released under defect DE632145.

Primary Action: Upgrade to Identity Manager 14.5.1 Cumulative Hotfix 2 (CHF2) or later.

Mitigation Steps (if upgrade is not immediately possible):

  1. URL Blocking: Block external access to the sensitive URLs listed below at the Web Application Firewall (WAF), Load Balancer, or Proxy level.
  2. Network Segmentation: Ensure strict network segmentation to prevent unauthenticated access to the application server.
  3. Disable Unused REST Options: If the REST interface is not required, explicitly disable REST options in web.xml to prevent exposure of endpoints like /rest/immanageapi/.

Sensitive URLs Recommended for Restriction:

 
 
CategoryURL Pattern
Workpoint Services/iam/im/wpClientServlet/*, /iam/im/wpQMonitor, /wpService/*, /wpMonitor/*
Management Console/iam/immanage/*, /iam/immanage/rest/*
Troubleshooting/Status/iam/im/logging.jsp, /iam/im/logging_v2.jsp, /iam/im/status.jsp, /iam/im/ping.jsp
Web Services/iam/im/TEWS6/*, /iam/im/rest/*, /iam/im/ws/*
File Handling/iam/im/FileDownloadServlet/*, /iam/im/ReportDownloadServlet/*

Note: JBoss/Wildfly may also expose a Welcome Page on the root / URL or a Management Interface on ports 9990/9993. It is recommended to restrict these via JBoss configuration or network firewalls.