Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:Arbitrary File Read and Delete in kanboard (CVE-2024-51747)
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.
Readme
# CVE-2024-51747
Log in with an administrator account and download the database in the system settings
![2024-11-15_114806](https://github.com/user-attachments/assets/05843939-b0eb-45b0-9c7a-e5fba955c9f4)

Modify project_has_files in the sqlite.db database
![2024-11-15_115438](https://github.com/user-attachments/assets/aa7f2fd1-464f-418e-a50b-84cb9935566b)

Compress the modified sqlite.db with gzip and upload it. After uploading it to the project and clicking the file to view/download, the attacker can read and delete any file from the server.
![2024-11-15_115652](https://github.com/user-attachments/assets/c04a30af-7140-4193-a527-21d7d2691df4)
File Snapshot

[4.0K] /data/pocs/6fe1319c10a414fe0e43353b36c4b89b187d27e4 └── [ 652] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →