SOAP Client failed to load entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
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/
Stack trace:
#0 /var/www/
#1 {main}
thrown in /var/www/
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/
ext/
- 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
Status changed to 'Confirmed' because the bug affects multiple users.