From:             david dot zuelke at bitextender dot com
Operating system: Mac OS X 10.5.7
PHP version:      5.3.0
PHP Bug Type:     SOAP related
Bug description:  import of schema from different host transmits original 
authentication details

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 s...@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 bug report at http://bugs.php.net/?id=49144&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49144&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49144&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49144&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49144&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49144&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49144&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49144&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49144&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49144&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49144&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49144&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49144&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49144&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49144&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49144&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49144&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49144&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49144&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49144&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49144&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49144&r=mysqlcfg

Reply via email to