CVE-2024-51747 Arbitrary File Read and Delete in kanboard

Critical 9.1 Published Updated

Authenticated admins can read and delete arbitrary server files by uploading a modified SQLite database with path traversal payloads.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-51747?

CVE-2024-51747 is a critical path traversal vulnerability in kanboard, published on 11 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Kanboard is project management software that focuses on the Kanban methodology. An authenticated Kanboard admin can read and delete arbitrary files from the server. File attachments, that are viewable or downloadable in Kanboard are resolved through its `path` entry in the `project_has_files` SQLite db. Thus, an attacker who can upload a modified sqlite.db through the dedicated feature, can set arbitrary file links, by abusing path traversals. Once the modified db is uploaded and the project page is accessed, a file download can be triggered and all files, readable in the context of the Kanboard application permissions, can be downloaded. This issue has been addressed in version 1.2.42 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-27, CWE-22

Which versions are affected by CVE-2024-51747?

It affects 1 product.

Products include Kanboard Kanboard.

How do I fix CVE-2024-51747?

No fix has been published for CVE-2024-51747 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-51747 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51747 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-78pf-vg56-5p8v.

Is CVE-2024-51747 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free