Vulnerability in Kanboard
CVE-2024-55603
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.005 (41.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 41.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.000
Affected products
- Kanboard — versions < 1.2.43
Weakness classification (CWE)
References
- github.com/kanboard/kanboard/security/advisories/GHSA-gv5c-8pxr-p484 (Exploit, Vendor Advisory)
- github.com/kanboard/kanboard/commit/7ce61c34d962ca8b5dce776289ddf4b207be6e78 (Patch)
- github.com/kanboard/kanboard/blob/main/app/Core/Session/SessionHandler.php (Product)
- www.php.net/manual/en/function.session-start.php (Product)
- www.php.net/manual/en/session.configuration.php (Product)
- www.php.net/manual/en/session.configuration.php (Product)
- www.php.net/manual/en/session.configuration.php (Product)
- www.php.net/manual/en/sessionhandlerinterface.gc.php (Product)
Frequently asked questions
- What is CVE-2024-55603?
- CVE-2024-55603 is a medium-severity vulnerability in Kanboard, classified under Insufficient Session Expiration. CVSS score: 6.5/10. Published 2024-12-19.
- How severe is CVE-2024-55603?
- Medium severity. CVSS v3 base score is 6.5 out of 10.