<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Web Dispatcher Security Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328246#M797206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my understanding of SSL, there is no possibility of data transfer before SSL handshake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just made a quick test on a WAS 6.20 system which is SSL enabled.&lt;/P&gt;&lt;P&gt;I increased the ICM trace level and I called this URL from my browser :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://&amp;lt;Myhost&amp;gt;:&amp;lt;sslport&amp;gt;/sap/bc/soap/wsdl11?services=STFC_CONNECTION&amp;amp;sap-user=&amp;lt;user&amp;gt;&amp;amp;sap-password=&amp;lt;pass&amp;gt;&amp;amp;sap-client=&amp;lt;client&amp;gt;" target="test_blank"&gt;https://&amp;lt;Myhost&amp;gt;:&amp;lt;sslport&amp;gt;/sap/bc/soap/wsdl11?services=STFC_CONNECTION&amp;amp;sap-user=&amp;lt;user&amp;gt;&amp;amp;sap-password=&amp;lt;pass&amp;gt;&amp;amp;sap-client=&amp;lt;client&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I look at the ICM trace file and I see the SSL session negotiation &lt;STRONG&gt;before&lt;/STRONG&gt; the URL decoding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some extracts :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; status = "new SSL session, client cert NOT requested"   &lt;/P&gt;&lt;P&gt; &amp;lt;&amp;lt;- SapSSLSessionDone(sssl_hdl=00000000002E1DE0)==SAP_O_K   &lt;/P&gt;&lt;P&gt;[Thr 388] REQUEST:                       &lt;/P&gt;&lt;P&gt;    Type: ACCEPT CONNECTION    Index = 68&lt;/P&gt;&lt;P&gt;[Thr 388] CONNECTION (id=1/27):          &lt;/P&gt;&lt;P&gt;[Thr 388] &amp;lt;&amp;lt;- SapSSLRead(sssl_hdl=00000000002E1DE0)==SAP_O_K                         &lt;/P&gt;&lt;P&gt;[Thr 388]          result = "max=65483, received=660"                                &lt;/P&gt;&lt;P&gt;[Thr 388] IcmReadFromConn(id=1/27): read 660 bytes(timeout 500)                      &lt;/P&gt;&lt;P&gt;[Thr 388] &amp;lt;&amp;lt;- SapSSLGetPeerInfo(sssl_hdl=00000000002E1DE0)==SAP_O_K                  &lt;/P&gt;&lt;P&gt;[Thr 388] HttpRewriteRequestHeader: perform actions: 0                               &lt;/P&gt;&lt;P&gt;[Thr 388] HttpHandleRequest: method: 1; path: /sap/bc/soap/wsdl11                    &lt;/P&gt;&lt;P&gt;[Thr 388] Handler 1: HttpLogHandler matches url: /sap/bc/soap/wsdl11, port: 1422     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 388] -OUT- req_info  LOGIN DP_ICM_EVENT                                             &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this trace, I understand that the URL is sent encrypted.&lt;/P&gt;&lt;P&gt;Am I wrong on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are right this is a huge security hole but not specific to SAP : a SSL security hole !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 10:37:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-05T10:37:44Z</dc:date>
    <item>
      <title>Web Dispatcher Security Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328243#M797203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when coming in to XI via the Web Dispatcher, URL &lt;A href="https://webdisp:443/sap/xi/adapter_plain" target="test_blank"&gt;https://webdisp:443/sap/xi/adapter_plain&lt;/A&gt; the normal authentication is done after the SSL handshake, so all data transferred is encrypted.&lt;/P&gt;&lt;P&gt;However, it is also possible to logon via the URL &lt;A href="https://webdisp:443/sap/xi/adapter_plain?sap-user=user&amp;amp;sap-password=pw" target="test_blank"&gt;https://webdisp:443/sap/xi/adapter_plain?sap-user=user&amp;amp;sap-password=pw&lt;/A&gt; which is sent before the line is encrypted, thus username and password are visible in the internet. &lt;/P&gt;&lt;P&gt;Not a good thing. &lt;/P&gt;&lt;P&gt;Most business partners should be responsible enough to use the right URL, but I want to make sure nobody can use the wrong one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how to change this behaviour, or if it can be changed at all?&lt;/P&gt;&lt;P&gt;So far I could not find an answer to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 18:13:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328243#M797203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T18:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dispatcher Security Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328244#M797204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you really sure that the user and password are sent encrypted when sent in the URL line ?&lt;/P&gt;&lt;P&gt;I did not understand it in that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't tell us in your exemple what is the SSL role of the web dispatcher ?&lt;/P&gt;&lt;P&gt;SSL termination ?&lt;/P&gt;&lt;P&gt;SSL router ?&lt;/P&gt;&lt;P&gt;SSL re-encryption ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 18:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328244#M797204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T18:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dispatcher Security Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328245#M797205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is my issue - when sent in the URL, the username/password are &lt;STRONG&gt;not&lt;/STRONG&gt; encrypted, and I want to make sure that it is not even possible to authenticate this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use SSL re-encryption, but the same holds true for all methods, because the URL is on the Internet before any SSL-handshake takes place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Andreas Niewerth on Feb 5, 2008 10:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 08:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328245#M797205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T08:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dispatcher Security Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328246#M797206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my understanding of SSL, there is no possibility of data transfer before SSL handshake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just made a quick test on a WAS 6.20 system which is SSL enabled.&lt;/P&gt;&lt;P&gt;I increased the ICM trace level and I called this URL from my browser :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://&amp;lt;Myhost&amp;gt;:&amp;lt;sslport&amp;gt;/sap/bc/soap/wsdl11?services=STFC_CONNECTION&amp;amp;sap-user=&amp;lt;user&amp;gt;&amp;amp;sap-password=&amp;lt;pass&amp;gt;&amp;amp;sap-client=&amp;lt;client&amp;gt;" target="test_blank"&gt;https://&amp;lt;Myhost&amp;gt;:&amp;lt;sslport&amp;gt;/sap/bc/soap/wsdl11?services=STFC_CONNECTION&amp;amp;sap-user=&amp;lt;user&amp;gt;&amp;amp;sap-password=&amp;lt;pass&amp;gt;&amp;amp;sap-client=&amp;lt;client&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I look at the ICM trace file and I see the SSL session negotiation &lt;STRONG&gt;before&lt;/STRONG&gt; the URL decoding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some extracts :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; status = "new SSL session, client cert NOT requested"   &lt;/P&gt;&lt;P&gt; &amp;lt;&amp;lt;- SapSSLSessionDone(sssl_hdl=00000000002E1DE0)==SAP_O_K   &lt;/P&gt;&lt;P&gt;[Thr 388] REQUEST:                       &lt;/P&gt;&lt;P&gt;    Type: ACCEPT CONNECTION    Index = 68&lt;/P&gt;&lt;P&gt;[Thr 388] CONNECTION (id=1/27):          &lt;/P&gt;&lt;P&gt;[Thr 388] &amp;lt;&amp;lt;- SapSSLRead(sssl_hdl=00000000002E1DE0)==SAP_O_K                         &lt;/P&gt;&lt;P&gt;[Thr 388]          result = "max=65483, received=660"                                &lt;/P&gt;&lt;P&gt;[Thr 388] IcmReadFromConn(id=1/27): read 660 bytes(timeout 500)                      &lt;/P&gt;&lt;P&gt;[Thr 388] &amp;lt;&amp;lt;- SapSSLGetPeerInfo(sssl_hdl=00000000002E1DE0)==SAP_O_K                  &lt;/P&gt;&lt;P&gt;[Thr 388] HttpRewriteRequestHeader: perform actions: 0                               &lt;/P&gt;&lt;P&gt;[Thr 388] HttpHandleRequest: method: 1; path: /sap/bc/soap/wsdl11                    &lt;/P&gt;&lt;P&gt;[Thr 388] Handler 1: HttpLogHandler matches url: /sap/bc/soap/wsdl11, port: 1422     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Thr 388] -OUT- req_info  LOGIN DP_ICM_EVENT                                             &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this trace, I understand that the URL is sent encrypted.&lt;/P&gt;&lt;P&gt;Am I wrong on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are right this is a huge security hole but not specific to SAP : a SSL security hole !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 10:37:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328246#M797206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T10:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dispatcher Security Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328247#M797207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are correct, the URL is just like the payload encrypted, see also here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://answers.google.com/answers/threadview?id=758002" target="test_blank"&gt;http://answers.google.com/answers/threadview?id=758002&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind of hard to find info on this though...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 17:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dispatcher-security-issue/m-p/3328247#M797207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T17:26:08Z</dc:date>
    </item>
  </channel>
</rss>

