cvelist/2024/55xxx/CVE-2024-55603.json
2024-12-19 00:01:01 +00:00

121 lines
5.6 KiB
JSON

{
"data_version": "4.0",
"data_type": "CVE",
"data_format": "MITRE",
"CVE_data_meta": {
"ID": "CVE-2024-55603",
"ASSIGNER": "security-advisories@github.com",
"STATE": "PUBLIC"
},
"description": {
"description_data": [
{
"lang": "eng",
"value": "Kanboard is project management software that focuses on the Kanban methodology. In affected versions sessions are still usable even though their lifetime has exceeded. Kanboard implements a cutom session handler (`app/Core/Session/SessionHandler.php`), to store the session data in a database. Therefore, when a `session_id` is given, kanboard queries the data from the `sessions` sql table. At this point, it does not correctly verify, if a given `session_id` has already exceeded its lifetime (`expires_at`).\nThus, a session which's lifetime is already `> time()`, is still queried from the database and hence a valid login. The implemented **SessionHandlerInterface::gc** function, that does remove invalid sessions, is called only **with a certain probability** (_Cleans up expired sessions. Called by `session_start()`, based on `session.gc_divisor`, `session.gc_probability` and `session.gc_maxlifetime` settings_) accordingly to the php documentation. In the official Kanboard docker image these values default to: session.gc_probability=1, session.gc_divisor=1000. Thus, an expired session is only terminated with probability 1/1000. This issue has been addressed in release 1.2.43 and all users are advised to upgrade. There are no known workarounds for this vulnerability."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-613: Insufficient Session Expiration",
"cweId": "CWE-613"
}
]
}
]
},
"affects": {
"vendor": {
"vendor_data": [
{
"vendor_name": "kanboard",
"product": {
"product_data": [
{
"product_name": "kanboard",
"version": {
"version_data": [
{
"version_affected": "=",
"version_value": "< 1.2.43"
}
]
}
}
]
}
}
]
}
},
"references": {
"reference_data": [
{
"url": "https://github.com/kanboard/kanboard/security/advisories/GHSA-gv5c-8pxr-p484",
"refsource": "MISC",
"name": "https://github.com/kanboard/kanboard/security/advisories/GHSA-gv5c-8pxr-p484"
},
{
"url": "https://github.com/kanboard/kanboard/commit/7ce61c34d962ca8b5dce776289ddf4b207be6e78",
"refsource": "MISC",
"name": "https://github.com/kanboard/kanboard/commit/7ce61c34d962ca8b5dce776289ddf4b207be6e78"
},
{
"url": "https://github.com/kanboard/kanboard/blob/main/app/Core/Session/SessionHandler.php#L40",
"refsource": "MISC",
"name": "https://github.com/kanboard/kanboard/blob/main/app/Core/Session/SessionHandler.php#L40"
},
{
"url": "https://www.php.net/manual/en/function.session-start.php",
"refsource": "MISC",
"name": "https://www.php.net/manual/en/function.session-start.php"
},
{
"url": "https://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor",
"refsource": "MISC",
"name": "https://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor"
},
{
"url": "https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime",
"refsource": "MISC",
"name": "https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime"
},
{
"url": "https://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability",
"refsource": "MISC",
"name": "https://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability"
},
{
"url": "https://www.php.net/manual/en/sessionhandlerinterface.gc.php",
"refsource": "MISC",
"name": "https://www.php.net/manual/en/sessionhandlerinterface.gc.php"
}
]
},
"source": {
"advisory": "GHSA-gv5c-8pxr-p484",
"discovery": "UNKNOWN"
},
"impact": {
"cvss": [
{
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
}
]
}
}