GHSA-q7qq-9gx2-ggxv: Phpxmlrpc/phpxmlrpc Phpxmlrpc Vulnerable To Argument Injection Vulnerability
MODERATEGHSA-q7qq-9gx2-ggxv is a MODERATE phpxmlrpc vulnerable to argument injection vulnerability (CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')) affecting Phpxmlrpc/phpxmlrpc libraries in the Packagist ecosystem. The issue involves phpxmlrpc vulnerable to argument injection. Remediation is available by upgrading affected packages to version 4.9.0.
GHSA-q7qq-9gx2-ggxv at a Glance
How to Fix GHSA-q7qq-9gx2-ggxv
To remediate this vulnerability, upgrade all affected Phpxmlrpc/phpxmlrpc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade phpxmlrpc/phpxmlrpc to 4.9.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpxmlrpc/phpxmlrpc
How to Check if You Are Affected
To determine whether your application is affected by GHSA-q7qq-9gx2-ggxv, inspect your project dependencies for Phpxmlrpc/phpxmlrpc:
inspect dependencies for phpxmlrpc/phpxmlrpc
Analyze the terminal output to locate any version of Phpxmlrpc/phpxmlrpc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.9.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection'), where the product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string. In Phpxmlrpc/phpxmlrpc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-q7qq-9gx2-ggxv Affected Phpxmlrpc/phpxmlrpc Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpxmlrpc/phpxmlrpc
|
Packagist |
< 4.9.0
|
4.9.0
|
References
Frequently Asked Questions
What is GHSA-q7qq-9gx2-ggxv?
Which Phpxmlrpc/phpxmlrpc versions are affected?
What version fixes GHSA-q7qq-9gx2-ggxv?
Is phpxmlrpc/phpxmlrpc affected?
What CWE is associated with GHSA-q7qq-9gx2-ggxv?
How can I check Packagist dependencies for GHSA-q7qq-9gx2-ggxv?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q7qq-9gx2-ggxv",
"modified" : "2022-12-02T22:26:45Z",
"published" : "2022-12-02T22:26:45Z",
"aliases" : [ ],
"summary" : "phpxmlrpc vulnerable to argument injection",
"details" : "phpxmlrpc vulnerable to argument injection via local file access in `Client:send` via manipulation of `$protocol` argument.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpxmlrpc/phpxmlrpc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.9.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/gggeek/phpxmlrpc/issues/81"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpxmlrpc/phpxmlrpc/2022-11-28-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gggeek/phpxmlrpc"
}, {
"type" : "WEB",
"url" : "https://github.com/gggeek/phpxmlrpc/releases/tag/4.9.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-88" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-02T22:26:45Z",
"nvd_published_at" : null
}
}