Skip to content

CVE-2024-55603 Insufficient session invalidation in Kanboard

MediumCVSS 6.5 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHPDockerDebian

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
debian/kanboard(Debian 14) < 1.2.44+ds-1; = 1.2.22+ds-1; = 1.2.23+ds-1; = 1.2.23+ds-1.1 +10 more 1.2.44+ds-1 Fixed
Kanboard < 1.2.43; = < 1.2.43 1.2.43 Fixed

Affected products

ProductAffected versionsFixed in
debian/kanboard(Debian:14) < 1.2.44+ds-1 1.2.44+ds-1
debian/kanboard(Debian:14) = 1.2.22+ds-1 No fix listed
debian/kanboard(Debian:14) = 1.2.23+ds-1 No fix listed
debian/kanboard(Debian:14) = 1.2.23+ds-1.1 No fix listed
debian/kanboard(Debian:14) = 1.2.25+ds-1 No fix listed
debian/kanboard(Debian:14) = 1.2.25+ds-2 No fix listed
debian/kanboard(Debian:14) = 1.2.25+ds-3 No fix listed
debian/kanboard(Debian:14) = 1.2.26+ds-1 No fix listed
debian/kanboard(Debian:14) = 1.2.26+ds-2 No fix listed
debian/kanboard(Debian:14) = 1.2.26+ds-3 No fix listed
debian/kanboard(Debian:14) = 1.2.26+ds-4 No fix listed
debian/kanboard(Debian:14) = 1.2.30+ds-1 No fix listed
debian/kanboard(Debian:14) = 1.2.31+ds-1 No fix listed
debian/kanboard(Debian:14) = 1.2.31+ds2-1 No fix listed
Kanboard = < 1.2.43 No fix listed
Kanboard < 1.2.43 1.2.43

References