We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-55603

Insufficient session invalidation in Kanboard



Description

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`). Thus, 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.

Reserved 2024-12-09 | Published 2024-12-18 | Updated 2024-12-20 | Assigner GitHub_M


MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Problem types

CWE-613: Insufficient Session Expiration

Product status

< 1.2.43
affected

References

github.com/...nboard/security/advisories/GHSA-gv5c-8pxr-p484

github.com/...ommit/7ce61c34d962ca8b5dce776289ddf4b207be6e78

github.com/.../blob/main/app/Core/Session/SessionHandler.php

www.php.net/manual/en/function.session-start.php

www.php.net/manual/en/session.configuration.php

www.php.net/manual/en/session.configuration.php

www.php.net/manual/en/session.configuration.php

www.php.net/manual/en/sessionhandlerinterface.gc.php

cve.org (CVE-2024-55603)

nvd.nist.gov (CVE-2024-55603)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-55603

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.