CVE-2012-5785¶
WSO2 Products impacted: no
Customer action required: no
REPORTED VULNERABILITY¶
Apache Axis2/Java 1.6.2 and earlier does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.1
REPORTED PRODUCTS¶
- WSO2 Identity Server : 7.2.0, 7.3.0
WSO2 JUSTIFICATION¶
Apache Axis2 is used in WSO2 Identity Server as the core SOAP/Web Services engine, handling service deployment, message routing and transport management. The product ships a WSO2-maintained fork of Axis2 rather than the upstream 1.6.1 release.2
The defect described in this CVE lives in CommonsHTTPTransportSender, which built HTTPS connections through Apache Commons HttpClient 3.x without verifying the server hostname against the certificate's CN or subjectAltName. That code path is not exercised in WSO2 Identity Server:
Admin service calls do not traverse the network. The ServerURL in carbon.xml is configured as local:/${carbon.context}/services/, which routes all admin service invocations through the in-JVM local transport (CarbonLocalTransportSender) rather than an HTTP transport sender. CommonsHTTPTransportSender is therefore never invoked for these calls.34
Outbound HTTPS uses a modern, hostname-verifying client. All outbound HTTPS connections to external endpoints are made through the WSO2 HTTP client utilities, which are built on Apache HttpClient 5 with hostname verification enabled.56
In addition, no component in the product outside the Axis2 bundle itself references CommonsHTTPTransportSender.
Based on this evidence, we conclude that this vulnerability does not pose a security risk to the impacted versions of WSO2 products listed above.
REFERENCES¶
-
https://github.com/wso2/wso2-axis2/releases/tag/v1.6.1-wso2v124 ↩
-
https://github.com/wso2/wso2-axis2/blob/master/modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java ↩
-
https://github.com/wso2/carbon-kernel/blob/4.10.x/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/CarbonUtils.java ↩
-
https://github.com/wso2/carbon-kernel/blob/4.10.x/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/httpclient5/HTTPClientUtils.java ↩
-
https://github.com/wso2/carbon-identity-framework/blob/master/components/identity-core/org.wso2.carbon.identity.core/src/main/java/org/wso2/carbon/identity/core/HTTPClientManager.java ↩