{"id":"CVE-2024-55603","published":"2024-12-18T23:52:57Z","modified":"2024-12-20T20:12:10Z","title":"Insufficient session invalidation in Kanboard","vendor":"kanboard","product":"kanboard","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.007,"percentile":0.487,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://github.com/kanboard/kanboard/security/advisories/GHSA-gv5c-8pxr-p484","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kanboard/kanboard/commit/7ce61c34d962ca8b5dce776289ddf4b207be6e78","tags":["x_refsource_MISC"]},{"url":"https://github.com/kanboard/kanboard/blob/main/app/Core/Session/SessionHandler.php#L40","tags":["x_refsource_MISC"]},{"url":"https://www.php.net/manual/en/function.session-start.php","tags":["x_refsource_MISC"]},{"url":"https://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor","tags":["x_refsource_MISC"]},{"url":"https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime","tags":["x_refsource_MISC"]},{"url":"https://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability","tags":["x_refsource_MISC"]},{"url":"https://www.php.net/manual/en/sessionhandlerinterface.gc.php","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":9.74},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"kanboard","affectedVersions":[{"vendor":"kanboard","product":"kanboard","versions":["< 1.2.43"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-12-20T20:10:11.562584Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-52822","exploited":false,"provenance":"source"}}