GHSA-q7qq-9gx2-ggxv phpxmlrpc vulnerable to argument injection
Attackers can execute arbitrary commands by manipulating the protocol argument in the phpxmlrpc library's client send method.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-q7qq-9gx2-ggxv?
GHSA-q7qq-9gx2-ggxv is a command injection vulnerability in phpxmlrpc/phpxmlrpc, published on 2 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Client:send via manipulation of $protocol argument.Which versions are affected by GHSA-q7qq-9gx2-ggxv?
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-q7qq-9gx2-ggxv?
Upgrade phpxmlrpc/phpxmlrpc to 4.9.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is GHSA-q7qq-9gx2-ggxv being exploited?
There is no known exploitation of GHSA-q7qq-9gx2-ggxv in the wild and no public exploit code.