REDHAT-BUG-1009103: Low severity PHP PHP vulnerability

Published Sep 17, 2013
·
Updated

On http://git.php.net/?p=php-src.git;a=blob;f=ext/soap/phpsdl.c;h=0ac4c2ed7a9bf87bb454db58ae3d969eef36f244;hb=HEAD#l3224

We see that php wdsl extension is reading predictible filename from a cache directory. The name is based on a configurable directory name, a prefix, and a md5, md5 derived for the file that would be cached ( or rather the url ).

So far, so good. However, default configuration is to use /tmp : http://www.php.net/manual/en/soap.configuration.php#ini.soap.wsdl-cache-dir

so someone could connect to a shared php server ( not uncommon ), and if some php code is using this feature ( ie, using wsdl ), with cache enabled by default ,it could just pre-create the file in /tmp to have it used instead of the one intended to be used ( ie, a cache injection issue ). After a quick look, there is no check of owner or permission in getsdlfromcache.

I am not able to say if WSDL injection is a serious issue or not.

Fedora do have PrivateTmp in systemd file, that mitigate this issue ( provided someone do not use php to make the attack ). RHEL < 7 do not have it however.

So far, upstream was not notified, except our php maintainer for a quick sanity check. I assume this affect all php version since a few years.

Affected Software

1 affected component
PHP PHP

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Enable systemd PrivateTmp for the PHP service to isolate its /tmp directory.

    systemd service running PHP PrivateTmp = true

Event History

Sep 17, 2013
Data Sourced
via Red Hat·05:08 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-1009103?

The severity of REDHAT-BUG-1009103 is considered high due to its potential impact on PHP applications.

2

How do I fix REDHAT-BUG-1009103?

To fix REDHAT-BUG-1009103, update to the latest version of PHP that addresses this vulnerability.

3

What systems are affected by REDHAT-BUG-1009103?

REDHAT-BUG-1009103 affects The PHP Group PHP versions prior to the fix implemented in the latest releases.

4

What component of PHP does REDHAT-BUG-1009103 involve?

REDHAT-BUG-1009103 involves the PHP WSDL extension, specifically in its handling of input data.

5

Is there a workaround for REDHAT-BUG-1009103?

A temporary workaround for REDHAT-BUG-1009103 may include disabling the WSDL caching feature in PHP.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203