CVE-2024-30262: Contao Remember-me Tokens Will Not Be Vulnerability
MODERATECVE-2024-30262 is a MODERATE (CVSS 5.9) remember-me tokens will not be vulnerability (CWE-613: Insufficient Session Expiration) affecting Contao libraries in the Packagist ecosystem. The issue involves remember-me tokens will not be cleared after a password change. Remediation is available by upgrading affected packages to version 4.13.40.
CVE-2024-30262 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N).
How to Fix CVE-2024-30262
To remediate this vulnerability, upgrade all affected Contao 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 contao/core-bundle to 4.13.40
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for contao/core-bundle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-30262, inspect your project dependencies for Contao:
inspect dependencies for contao/core-bundle
Analyze the terminal output to locate any version of Contao in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.13.40), 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-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Contao, 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-30262 Affected Contao Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
contao/core-bundle
|
Packagist |
< 4.13.40
|
4.13.40
|
References
Frequently Asked Questions
What is CVE-2024-30262?
Which Contao versions are affected?
What version fixes CVE-2024-30262?
Is contao/core-bundle affected?
What is the CVSS score of CVE-2024-30262?
What CWE is associated with CVE-2024-30262?
How can I check Packagist dependencies for CVE-2024-30262?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r4r6-j2j3-7pp5",
"modified" : "2024-04-09T21:12:19Z",
"published" : "2024-04-09T16:15:06Z",
"aliases" : [ "CVE-2024-30262" ],
"summary" : "Contao: Remember-me tokens will not be cleared after a password change",
"details" : "### Impact\n\nWhen a front end member changes their password, the corresponding remember-me tokens are not removed.\n\n### Patches\n\nUpdate to Contao 4.13.40.\n\n### Workarounds\n\nDisable \"Allow auto login\" in the login module.\n\n### References\n\nhttps://contao.org/en/security-advisories/remember-me-tokens-are-not-cleared-after-a-password-change\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "contao/core-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.13.40"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/contao/contao/security/advisories/GHSA-r4r6-j2j3-7pp5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-30262"
}, {
"type" : "WEB",
"url" : "https://github.com/contao/contao/commit/3032baa456f607169ffae82a8920354adb338fe9"
}, {
"type" : "WEB",
"url" : "https://contao.org/en/security-advisories/remember-me-tokens-are-not-cleared-after-a-password-change"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/contao/contao"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384", "CWE-613" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-09T16:15:06Z",
"nvd_published_at" : "2024-04-09T17:16:02Z"
}
}