CVE-2017-14764: Genix/cms GeniXCMS Arbitrary PHP Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-5cmg-8m8p-whmj
CVSS 8.8
CWE-94
Published
Advisory Summary

CVE-2017-14764 is a HIGH (CVSS 8.8) genixcms arbitrary php code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Genix/cms libraries in the Packagist ecosystem. The issue involves genixcms arbitrary php code execution. Remediation is available in the latest vendor maintenance releases.

CVE-2017-14764 at a Glance

CVE Identifier CVE-2017-14764
GHSA Identifier GHSA-5cmg-8m8p-whmj
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Genix/cms
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.8

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

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

How to Fix CVE-2017-14764

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

genix/cms fixed: Latest secure release
Upgrade genix/cms to Latest secure release
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 genix/cms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-14764, inspect your project dependencies for Genix/cms:

inspect dependencies for genix/cms

Analyze the terminal output to locate any version of Genix/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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 Genix/cms, 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

In the Upload Modules page in GeniXCMS 1.1.4, remote authenticated users can execute arbitrary PHP code via a .php file in a ZIP archive of a module.

CVE-2017-14764 Affected Genix/cms Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
genix/cms
Packagist
1.1.4
All 1 versions
1.1.4
None specified

References

Frequently Asked Questions

What is CVE-2017-14764?
CVE-2017-14764 is a security vulnerability in Genix/cms involving GeniXCMS arbitrary PHP code execution under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Genix/cms versions are affected?
Affected versions include releases prior to current release patches across affected packages: genix/cms.
What version fixes CVE-2017-14764?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is genix/cms affected?
Yes, genix/cms is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2017-14764?
CVE-2017-14764 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2017-14764?
CVE-2017-14764 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 CVE-2017-14764?
Run the dependency tree command: 'inspect dependencies for genix/cms'. 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-5cmg-8m8p-whmj",
  "modified" : "2024-04-25T21:27:42Z",
  "published" : "2022-05-17T00:36:05Z",
  "aliases" : [ "CVE-2017-14764" ],
  "summary" : "GeniXCMS arbitrary PHP code execution",
  "details" : "In the Upload Modules page in GeniXCMS 1.1.4, remote authenticated users can execute arbitrary PHP code via a .php file in a ZIP archive of a module.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "genix/cms"
    },
    "versions" : [ "1.1.4" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-14764"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/GeniXCMS/GeniXCMS"
  }, {
    "type" : "WEB",
    "url" : "http://ph0rse.me/2017/09/21/GeniXCMS-1-1-4%E6%9C%80%E6%96%B0%E7%89%88%E6%9C%AC-getshell"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-25T21:27:42Z",
    "nvd_published_at" : "2017-09-27T08:29:00Z"
  }
}