Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

HostName verification not performed during SSL handshake, SAP security note 1381198

SAP Note 1381198

SAP security note 1381198, “HostName verification not performed during SSL handshake”. Below are the symptom and SAP recommended solution.

Description

Symptom

Hostname verification of the server certificate does not occur during the SSL Handshake.

Solution

To enable hostname verification, configure the following SOAP Adapter module parameter in the receiver SOAP adapter channel:

  • Module Name: sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
  • Parameter Name: hostVerification
  • Parameter Value: true

This issue has been addressed through code changes. To apply the solution, update the relevant software components to the patch levels specified in the “SP Patch Level” section of this note or upgrade to newer versions as recommended.

For detailed instructions and to download the necessary patches, visit the SAP Service Marketplace.

Reason and prerequisites

The Process Integration Adapter Framework utilizes security libraries for the SSL Handshake. By default, hostname verification is set to false in these libraries. As a result, while the SSL Handshake may complete successfully, the hostname verification does not take place, potentially allowing connections to malicious servers. This omission poses a significant security threat. To mitigate this, the PI AFW security code has been enhanced to perform hostname verification during the SSL Handshake.

References

Full note on SAP: SAP Support Launchpad note 1381198

Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].

Explore More