#49144 [Opn->Asn]: import of schema from different host transmits original authentication details
| From: | dmitry@php.net | Date: | Tue, 04 Aug 2009 05:32:11 +0000 |
| Subject: | #49144 [Opn->Asn]: import of schema from different host transmits original authentication details | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-140632@lists.php.net to get a copy of this message | ||
ID: 49144
Updated by: dmitry@php.net
Reported By: david dot zuelke at bitextender dot com
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: Mac OS X 10.5.7
PHP Version: 5.3.0
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2009-08-03 16:32:54] david dot zuelke at bitextender dot com
Description:
------------
Say I have a webservice at foo.com, described by http://foo.com/wsdl,
and it's protected by HTTP Basic Authentication.
If this WSDL inside the XML Schema definitions imports another schema
from a different host, then the HTTP Basic Authentication credentials
will be transmitted to this host, too, resulting in the credentials
being inadvertently leaked to a third party.
An example is the importing of W3C's XML schema located at
http://www.w3.org/2001/xml.xsd
The original issue was reported on the soap@lists.php.net list and
brought to internals@'s attention here:
http://thread.gmane.org/gmane.comp.php.devel/58024
Reproduce code:
---------------
.phpt: http://pastie.org/569897
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49144&edit=1