CVE-2018-1999009: October/october October CMS Local File Inclusion Vulnerability

HIGH
Advisory Identifier: GHSA-v7cr-w5v6-6659
CVSS 8.1
CWE-200
Published
Advisory Summary

CVE-2018-1999009 is a HIGH (CVSS 8.1) october cms local file inclusion vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting October/october libraries in the Packagist ecosystem. The issue involves october cms local file inclusion. Remediation is available by upgrading affected packages to version 1.0.437.

CVE-2018-1999009 at a Glance

CVE Identifier CVE-2018-1999009
GHSA Identifier GHSA-v7cr-w5v6-6659
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product October/october
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.1

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

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 High (I:H)
Availability High (A:H)

How to Fix CVE-2018-1999009

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

october/october fixed: 1.0.437
Upgrade october/october to 1.0.437
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 october/october

How to Check if You Are Affected

To determine whether your application is affected by CVE-2018-1999009, inspect your project dependencies for October/october:

inspect dependencies for october/october

Analyze the terminal output to locate any version of October/october in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.437), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In October/october, 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

October CMS version prior to Build 437 contains a Local File Inclusion vulnerability in [modules/system/traits/ViewMaker.php](https://github.com/octobercms/october/blob/v1.0.436/modules/system/traits/ViewMaker.php#L244) (makeFileContents function) that can result in Sensitive information disclosure and remote code execution. This attack appear to be exploitable remotely if the /backend path is accessible. This vulnerability appears to have been fixed in Build 437.

CVE-2018-1999009 Affected October/october Versions

1 component(s)
Fixed Versions:
1.0.437
Product / Package Ecosystem Affected Versions Fixed Version
october/october
Packagist
< 1.0.437
1.0.437

References

Frequently Asked Questions

What is CVE-2018-1999009?
CVE-2018-1999009 is a security vulnerability in October/october involving October CMS Local File Inclusion under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which October/october versions are affected?
Affected versions include releases prior to 1.0.437 across affected packages: october/october.
What version fixes CVE-2018-1999009?
Upgrading to 1.0.437 (or the latest patched release for your respective branch) resolves the vulnerability.
Is october/october affected?
Yes, october/october is affected in releases prior to 1.0.437. Upgrade your dependency to 1.0.437 or later.
What is the CVSS score of CVE-2018-1999009?
CVE-2018-1999009 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2018-1999009?
CVE-2018-1999009 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for CVE-2018-1999009?
Run the dependency tree command: 'inspect dependencies for october/october'. 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-v7cr-w5v6-6659",
  "modified" : "2023-07-21T20:49:16Z",
  "published" : "2022-05-13T01:24:44Z",
  "aliases" : [ "CVE-2018-1999009" ],
  "summary" : "October CMS Local File Inclusion",
  "details" : "October CMS version prior to Build 437 contains a Local File Inclusion vulnerability in [modules/system/traits/ViewMaker.php](https://github.com/octobercms/october/blob/v1.0.436/modules/system/traits/ViewMaker.php#L244) (makeFileContents function) that can result in Sensitive information disclosure and remote code execution. This attack appear to be exploitable remotely if the /backend path is accessible. This vulnerability appears to have been fixed in Build 437.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "october/october"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.437"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1999009"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/octobercms/october"
  }, {
    "type" : "WEB",
    "url" : "http://octobercms.com/support/article/rn-10"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-21T20:49:16Z",
    "nvd_published_at" : "2018-07-23T15:29:00Z"
  }
}