# XML-RPC for PHP allows access to local files via malicious argument to the Client::send method

Source: https://junglewise.ai/threats/xml-rpc-for-php-allows-access-to-local-files-via-malicious-argument-to-e0f3870f  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-01-11  
License: CC BY 4.0 with a link back

Severity: info · Published 2023-01-11

XML-RPC for PHP allows access to local files via malicious argument to the Client::send method

Technologies: [phpxmlrpc/phpxmlrpc (Packagist)](https://junglewise.ai/threats/technologies/phpxmlrpc-phpxmlrpc). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 11 January 2023.

**Which products and versions are affected?** phpxmlrpc/phpxmlrpc (Packagist) ECOSYSTEM:introduced=0,fixed=4.9.0.

**Is there a fix for This vulnerability?** Yes. phpxmlrpc/phpxmlrpc (Packagist): upgrade to 4.9.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run phpxmlrpc/phpxmlrpc (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- phpxmlrpc/phpxmlrpc (Packagist): upgrade to 4.9.0 or later

  ```sh
  composer require phpxmlrpc/phpxmlrpc:^4.9.0
  ```


## Affected products

- phpxmlrpc/phpxmlrpc (Packagist) ECOSYSTEM:introduced=0,fixed=4.9.0

## Related threats

- [XML-RPC for PHP's `Wrapper::buildClientWrapperCode` method allows code injection via malicious `$client` argument](https://junglewise.ai/threats/xml-rpc-for-php-s-wrapper-buildclientwrappercode-method-allows-code-231cafa4)
- [XML-RPC for PHP's debugger vulnerable to possible XSS attack](https://junglewise.ai/threats/xml-rpc-for-php-s-debugger-vulnerable-to-possible-xss-attack-b2efb5dc)
- [phpxmlrpc vulnerable to argument injection](https://junglewise.ai/threats/phpxmlrpc-vulnerable-to-argument-injection-ad57aa42)
- [code injection in phpxmlrpc/phpxmlrpc](https://junglewise.ai/threats/code-injection-in-phpxmlrpc-phpxmlrpc-53890d1a)
