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

Launchpad Bug Tracker 1160336 at bugs.launchpad.net
Mon Oct 19 11:47:24 UTC 2015


You have been subscribed to a public bug by Robie Basak (racb):

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

PHP 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli) (built: Mar 11 2013 14:31:48)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies


Server version: Apache/2.2.22 (Ubuntu)
Server built:   Mar  8 2013 15:53:13
Server's Module Magic Number: 20051115:30
Server loaded:  APR 1.4.6, APR-Util 1.3.12
Compiled using: APR 1.4.6, APR-Util 1.3.12
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.2 LTS
Release:        12.04
Codename:       precise

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


** Tags: amd64
-- 
SOAP Client failed to load entry
https://bugs.launchpad.net/bugs/1160336
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.



More information about the Ubuntu-server-bugs mailing list