GHSA-pgj4-g5j4-cmfx: Withdrawn Advisory Remote Code Execution Vulnerability

HIGH
CVSS 7.0
CWE-94
Published
Advisory Summary

GHSA-pgj4-g5j4-cmfx is a HIGH (CVSS 7.0) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Withdrawn Advisory libraries in the Packagist ecosystem. The issue involves cart2quote/module-quotation-encoded remote code execution via downloadcustomoptionaction. Remediation is available by upgrading affected packages to version 5.4.4, 4.4.6.

GHSA-pgj4-g5j4-cmfx at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-pgj4-g5j4-cmfx
Severity HIGH
CVSS v3.1 Base Score 7.0
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Withdrawn Advisory
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix GHSA-pgj4-g5j4-cmfx

To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

cart2quote/module-quotation-encoded fixed: Latest secure release
Upgrade cart2quote/module-quotation-encoded to Latest secure release
cart2quote/module-quotation-encoded fixed: 5.4.4
Upgrade cart2quote/module-quotation-encoded to 5.4.4
cart2quote/module-quotation fixed: 4.4.6
Upgrade cart2quote/module-quotation to 4.4.6
cart2quote/module-quotation fixed: 5.4.4
Upgrade cart2quote/module-quotation to 5.4.4
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 cart2quote/module-quotation-encoded

How to Check if You Are Affected

To determine whether your application is affected by GHSA-pgj4-g5j4-cmfx, inspect your project dependencies for Withdrawn Advisory:

inspect dependencies for cart2quote/module-quotation-encoded

Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.4), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Withdrawn Advisory, 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

# Withdrawn Advisory This advisory has been withdrawn because it is specific to the Magento 1 implementation of cart2quote and does not apply to cart2quote/module-quotation-encoded. # Original Description cart2quote/module-quotation-encoded extension may expose a critical security vulnerability by utilizing the unserialize function when processing data from a GET request. This flaw, present in the app/code/community/Ophirah/Qquoteadv/controllers/DownloadController.php and app/code/community/Ophirah/Qquoteadv/Helper/Data.php files, poses a significant risk of Remote Code Execution, especially when custom file options are employed on a product. Attackers exploiting this vulnerability could execute arbitrary code remotely, leading to unauthorized access and potential compromise of sensitive data.

GHSA-pgj4-g5j4-cmfx Affected Withdrawn Advisory Versions

4 component(s)
Fixed Versions:
5.4.44.4.6
Product / Package Ecosystem Affected Versions Fixed Version
cart2quote/module-quotation-encoded
Packagist
≥ 4.1.6
≤ 4.4.5
cart2quote/module-quotation-encoded
Packagist
≥ 5.0.0
< 5.4.4
5.4.4
cart2quote/module-quotation
Packagist
≥ 4.1.6
< 4.4.6
4.4.6
cart2quote/module-quotation
Packagist
≥ 5.0.0
< 5.4.4
5.4.4

References

Frequently Asked Questions

What is GHSA-pgj4-g5j4-cmfx?
GHSA-pgj4-g5j4-cmfx is a security vulnerability in Withdrawn Advisory involving cart2quote/module-quotation-encoded Remote Code Execution via downloadCustomOptionAction under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to 5.4.4, 4.4.6 across affected packages: cart2quote/module-quotation-encoded, cart2quote/module-quotation.
What version fixes GHSA-pgj4-g5j4-cmfx?
Upgrading to 5.4.4, 4.4.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cart2quote/module-quotation-encoded affected?
Yes, cart2quote/module-quotation-encoded is affected in releases prior to Latest secure release, 5.4.4. Upgrade your dependency to Latest secure release, 5.4.4 or later.
Is cart2quote/module-quotation affected?
Yes, cart2quote/module-quotation is affected in releases prior to 4.4.6, 5.4.4. Upgrade your dependency to 4.4.6, 5.4.4 or later.
What is the CVSS score of GHSA-pgj4-g5j4-cmfx?
GHSA-pgj4-g5j4-cmfx has a CVSS v3.1 base score of 7.0 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L.
What CWE is associated with GHSA-pgj4-g5j4-cmfx?
GHSA-pgj4-g5j4-cmfx is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Packagist dependencies for GHSA-pgj4-g5j4-cmfx?
Run the dependency tree command: 'inspect dependencies for cart2quote/module-quotation-encoded'. 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-pgj4-g5j4-cmfx",
  "modified" : "2026-10-07T14:00:30Z",
  "published" : "2024-05-15T18:06:58Z",
  "withdrawn" : "2026-10-07T14:00:30Z",
  "aliases" : [ ],
  "summary" : "Withdrawn Advisory: cart2quote/module-quotation-encoded Remote Code Execution via downloadCustomOptionAction",
  "details" : "# Withdrawn Advisory\nThis advisory has been withdrawn because it is specific to the Magento 1 implementation of cart2quote and does not apply to cart2quote/module-quotation-encoded.\n\n# Original Description\ncart2quote/module-quotation-encoded extension may expose a critical security vulnerability by utilizing the unserialize function when processing data from a GET request. This flaw, present in the app/code/community/Ophirah/Qquoteadv/controllers/DownloadController.php and app/code/community/Ophirah/Qquoteadv/Helper/Data.php files, poses a significant risk of Remote Code Execution, especially when custom file options are employed on a product. Attackers exploiting this vulnerability could execute arbitrary code remotely, leading to unauthorized access and potential compromise of sensitive data.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "cart2quote/module-quotation-encoded"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.6"
      }, {
        "last_affected" : "4.4.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "cart2quote/module-quotation-encoded"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.4.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "cart2quote/module-quotation"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.6"
      }, {
        "fixed" : "4.4.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "cart2quote/module-quotation"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.4.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/github/advisory-database/pull/8423"
  }, {
    "type" : "PACKAGE",
    "url" : "https://bitbucket.org/cart2quote2/cart2quote2-releases"
  }, {
    "type" : "WEB",
    "url" : "https://cart2quote.zendesk.com/hc/en-us/articles/115000616303--FIXED-Security-Vulnerability-in-downloadCustomOptionAction"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/cart2quote/module-quotation/2017-02-01.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20230131172111/https://cart2quote.zendesk.com/hc/en-us/articles/115000616303--FIXED-Security-Vulnerability-in-downloadCustomOptionAction"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T18:06:58Z",
    "nvd_published_at" : null
  }
}