CVE-2021-41126: October/october Deleted Admin Can Sign Vulnerability
HIGHCVE-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
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).
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.
Upgrade october/october to 2.1.12
Upgrade october/system to 2.1.12
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
CVE-2021-41126 Affected October/october Versions
2 component(s)| 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?
Which October/october versions are affected?
What version fixes CVE-2021-41126?
Is october/october affected?
Is october/system affected?
What is the CVSS score of CVE-2021-41126?
What CWE is associated with CVE-2021-41126?
How can I check Packagist dependencies for CVE-2021-41126?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}