CVE-2024-45962: October/october October Allows An Admin Account Vulnerability
LOWCVE-2024-45962 is a LOW (CVSS 4.8) october allows an admin account vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting October/october libraries in the Packagist ecosystem. The issue involves october allows an admin account to upload pdf containing malicious javascript. Remediation is available in the latest vendor maintenance releases.
CVE-2024-45962 at a Glance
Security Impact
CVSS: 4.8
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:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2024-45962
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 Latest secure release
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-2024-45962, 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 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-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. 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-2024-45962 Affected October/october Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
october/october
|
Packagist |
≤ 3.6.4
|
|
References
Frequently Asked Questions
What is CVE-2024-45962?
Which October/october versions are affected?
What version fixes CVE-2024-45962?
Is october/october affected?
What is the CVSS score of CVE-2024-45962?
What CWE is associated with CVE-2024-45962?
How can I check Packagist dependencies for CVE-2024-45962?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hxpp-g76m-qhvg",
"modified" : "2024-10-02T22:35:21Z",
"published" : "2024-10-02T21:30:35Z",
"aliases" : [ "CVE-2024-45962" ],
"summary" : "October allows an admin account to upload PDF containing malicious JavaScript",
"details" : "October 3.6.30 allows an authenticated admin account to upload a PDF file containing malicious JavaScript into the target system. If the file is accessed through the website, it could lead to a Cross-Site Scripting (XSS) attack or execute arbitrary code via a crafted JavaScript to the target.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/october"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.6.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45962"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/octobercms/october"
}, {
"type" : "WEB",
"url" : "https://grimthereaperteam.medium.com/october-cms-3-6-30-stored-xss-ddf2be7a226e"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434", "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-02T22:35:21Z",
"nvd_published_at" : "2024-10-02T20:15:11Z"
}
}