GHSA-3fgr-xjr6-xqm8 code injection in phpxmlrpc/phpxmlrpc
Attackers can inject code via the client argument to access local files or connect to malicious URLs in the phpxmlrpc library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-3fgr-xjr6-xqm8?
GHSA-3fgr-xjr6-xqm8 is a code injection vulnerability in phpxmlrpc/phpxmlrpc, published on 28 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Wrapper::buildClientWrapperCode via manipulation of the $client argument. It was possible to force the client to access local files or connect to undesired urls instead of the intended target server's url.Which versions are affected by GHSA-3fgr-xjr6-xqm8?
2 open source packages ship an affected version, including phpxmlrpc/phpxmlrpc.
| Package | Affected | Fixed in |
|---|---|---|
phpxmlrpc/phpxmlrpc Packagist | All versions | 4.9.0 |
phpxmlrpc/phpxmlrpc Packagist | All versions | 4.9.0 |
How do I fix GHSA-3fgr-xjr6-xqm8?
Upgrade phpxmlrpc/phpxmlrpc to 4.9.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is GHSA-3fgr-xjr6-xqm8 being exploited?
There is no known exploitation of GHSA-3fgr-xjr6-xqm8 in the wild and no public exploit code.