GHSA-q7qq-9gx2-ggxv: Phpxmlrpc/phpxmlrpc Phpxmlrpc Vulnerable To Argument Injection Vulnerability

MODERATE
CWE-88
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-q7qq-9gx2-ggxv
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected Product Phpxmlrpc/phpxmlrpc
Package Ecosystem Packagist
Published Date
Last Updated

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.

phpxmlrpc/phpxmlrpc fixed: 4.9.0
Upgrade phpxmlrpc/phpxmlrpc to 4.9.0
Verify Direct and Transitive Dependencies

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

phpxmlrpc vulnerable to argument injection via local file access in `Client:send` via manipulation of `$protocol` argument.

GHSA-q7qq-9gx2-ggxv Affected Phpxmlrpc/phpxmlrpc Versions

1 component(s)
Fixed Versions:
4.9.0
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?
GHSA-q7qq-9gx2-ggxv is a security vulnerability in Phpxmlrpc/phpxmlrpc involving phpxmlrpc vulnerable to argument injection under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection').
Which Phpxmlrpc/phpxmlrpc versions are affected?
Affected versions include releases prior to 4.9.0 across affected packages: phpxmlrpc/phpxmlrpc.
What version fixes GHSA-q7qq-9gx2-ggxv?
Upgrading to 4.9.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is phpxmlrpc/phpxmlrpc affected?
Yes, phpxmlrpc/phpxmlrpc is affected in releases prior to 4.9.0. Upgrade your dependency to 4.9.0 or later.
What CWE is associated with GHSA-q7qq-9gx2-ggxv?
GHSA-q7qq-9gx2-ggxv is classified under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (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.).
How can I check Packagist dependencies for GHSA-q7qq-9gx2-ggxv?
Run the dependency tree command: 'inspect dependencies for phpxmlrpc/phpxmlrpc'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}