CVE-2021-41126: October/october Deleted Admin Can Sign Vulnerability

HIGH
Advisory Identifier: GHSA-6gjf-7w99-j7x7
CVSS 7.2
CWE-287
Published
Advisory Summary

CVE-2021-41126 is a HIGH (CVSS 7.2) deleted admin can sign vulnerability (CWE-287: Improper Authentication) affecting October/october libraries in the Packagist ecosystem. The issue involves deleted admin can sign in to admin interface. Remediation is available by upgrading affected packages to version 2.1.12.

CVE-2021-41126 at a Glance

CVE Identifier CVE-2021-41126
GHSA Identifier GHSA-6gjf-7w99-j7x7
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-287: Improper Authentication
Affected Product October/october
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.2

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
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-2021-41126

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: 2.1.12
Upgrade october/october to 2.1.12
october/system fixed: 2.1.12
Upgrade october/system to 2.1.12
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-2021-41126, 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 2.1.12), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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

### Impact Assuming an administrator once had previous access to the admin interface, they may still be able to sign in to the backend using October CMS v2.0. ### Patches The issue has been patched in v2.1.12 ### Workarounds - Reset the password of the deleted accounts to prevent them from signing in. - Please contact hello@octobercms.com for code change instructions if you are unable to upgrade. ### References Credits to: • Daniel Bidala ### For more information If you have any questions or comments about this advisory: * Email us at [hello@octobercms.com](mailto:hello@octobercms.com)

CVE-2021-41126 Affected October/october Versions

2 component(s)
Fixed Versions:
2.1.12
Product / Package Ecosystem Affected Versions Fixed Version
october/october
Packagist
≥ 2.1.0
< 2.1.12
2.1.12
october/system
Packagist
≥ 2.1.0
< 2.1.12
2.1.12

References

Frequently Asked Questions

What is CVE-2021-41126?
CVE-2021-41126 is a security vulnerability in October/october involving Deleted Admin Can Sign In to Admin Interface under CWE-287: Improper Authentication.
Which October/october versions are affected?
Affected versions include releases prior to 2.1.12 across affected packages: october/october, october/system.
What version fixes CVE-2021-41126?
Upgrading to 2.1.12 (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 2.1.12. Upgrade your dependency to 2.1.12 or later.
Is october/system affected?
Yes, october/system is affected in releases prior to 2.1.12. Upgrade your dependency to 2.1.12 or later.
What is the CVSS score of CVE-2021-41126?
CVE-2021-41126 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2021-41126?
CVE-2021-41126 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Packagist dependencies for CVE-2021-41126?
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-6gjf-7w99-j7x7",
  "modified" : "2022-10-13T18:02:46Z",
  "published" : "2021-10-06T17:46:40Z",
  "aliases" : [ "CVE-2021-41126" ],
  "summary" : "Deleted Admin Can Sign In to Admin Interface",
  "details" : "### Impact\nAssuming an administrator once had previous access to the admin interface, they may still be able to sign in to the backend using October CMS v2.0.\n\n### Patches\nThe issue has been patched in v2.1.12\n\n### Workarounds\n\n- Reset the password of the deleted accounts to prevent them from signing in.\n\n- Please contact hello@octobercms.com for code change instructions if you are unable to upgrade.\n\n### References\n\nCredits to:\n• Daniel Bidala\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [hello@octobercms.com](mailto:hello@octobercms.com)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "october/october"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "october/system"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/octobercms/october/security/advisories/GHSA-6gjf-7w99-j7x7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-41126"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/octobercms/october"
  }, {
    "type" : "WEB",
    "url" : "https://octobercms.com/changelog"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-10-06T17:27:51Z",
    "nvd_published_at" : "2021-10-06T18:15:00Z"
  }
}