[Bug 1160336] [NEW] SOAP Client failed to load entry

Jack jacek.rogoz at esky.pl
Tue Mar 26 12:18:55 UTC 2013


Public bug reported:

After upgrading php to

ii  libapache2-mod-php5              5.3.10-1ubuntu3.6                 
ii  php5-cli                         5.3.10-1ubuntu3.6              


We noticed that we've got some temporary problems with loading wsdl by soap client, it doesn't no matter about location of wsdl, this bug includes loading wsdl from local disk and from remote using http protocol.  In php logs we've got only information: 

[26-Mar-2013 10:55:15 UTC] PHP Fatal error:  Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '/tmp/test_wsdl' : failed to load external entity "/tmp/test_wsdl"
 in /var/www/http/test.php:11
Stack trace:
#0 /var/www/http/test.php(11): SoapClient->SoapClient('/tmp/test_wsdl')
#1 {main}
  thrown in /var/www/http/test.php on line 11


And after restart apache instance it will works for a while, and then problem returns.

Important is, that this problem does not apply to CLI client, it applies
only when you are trying to run file from apache instance.

As we can see in changelog there was some changes in soap and XML and
maybe that is the reason of this problems. ( In the previous version of
php we didn't have any problems with soap )

* SECURITY UPDATE: arbitrary file disclosure via XML External Entity
    - debian/patches/CVE-2013-1643.patch: disable the entity loader in
      ext/libxml/libxml.c, ext/libxml/php_libxml.h, ext/soap/php_xml.c.
    - CVE-2013-1643

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1160336

Title:
  SOAP Client failed to load entry

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1160336/+subscriptions



More information about the Ubuntu-server-bugs mailing list