Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
Kimai-CVE-2026-49865-POC — PoC exploits for CVE-2026-52824 (GHSA-jr9p-4h4j-6c58) — Kimai time-tracking default APP_SECRET authentication bypass affecting versions ≤ 2.57.0 | Kitploit
도구/GitHubGitHub/cyeezy08/kimai-cve-2026-49865-poc
OSINT (Open Source Intelligence)ReconnaissanceVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingAuthenticationRed Teaming
GitHubcyeezy08/kimai-cve-2026-49865-poc

Kimai-CVE-2026-49865-POC

PoC exploits for CVE-2026-52824 (GHSA-jr9p-4h4j-6c58) — Kimai time-tracking default APP_SECRET authentication bypass affecting versions ≤ 2.57.0

저장소 보기
19일 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

Kimai CVE-2026-52824 — Default APP_SECRET Authentication Bypass

Note: The repository URL contains an outdated CVE ID (CVE-2026-49865). The correct and current CVE tracked in this repository is CVE-2026-52824 (GHSA-jr9p-4h4j-6c58).

Proof-of-concept exploit toolkit for the hardcoded default APP_SECRET vulnerability in Kimai time-tracking (versions ≤ 2.57.0). Allows authentication bypass via forged KIMAI_REMEMBER cookies on unpatched Docker deployments.

The Story

When CVE-2026-52824 dropped — a CVSS 9.1 critical with a hardcoded default secret sitting in a Docker image used by thousands of self-hosters — the technical community knew about it, and the fix shipped in 2.58.0. But nobody published a working proof-of-concept.

So I rebuilt it from the advisory alone.

The chain: Kimai ships APP_SECRET=change_this_to_something_unique in Docker and .env.dist. In v2.57.0 the signature_properties for remember-me cookies is empty, so the FieldsHash collapses to a constant (SHA256('')). Combine the known secret with an empty hash and you can forge a KIMAI_REMEMBER cookie for any user id — including admin (id:1).

This repo is the complete working toolkit that goes from advisory to admin session on any unpatched instance.

Vulnerability Summary

How It Works

Kimai ships with a hardcoded default APP_SECRET in its Docker image and .env.dist:

root@kitploit:~
APP_SECRET=change_this_to_something_unique

In v2.57.0, the signature_properties for remember-me cookies is empty, making the FieldsHash a constant (SHA256('')). Combined with the known secret, anyone can forge a valid KIMAI_REMEMBER cookie for any user — including admin.

Attack Chain

  1. Identify a Kimai instance running ≤ 2.57.0
  2. User IDs are sequential (admin = id:1)
  3. Known APP_SECRET → compute HMAC-SHA256 signatures
  4. Forge KIMAI_REMEMBER cookie with admin's user_id + username
  5. Server validates HMAC → full admin session
  6. Admin access enables timesheet manipulation, user creation, and potential RCE

What Changed in v2.58.0

Toolkit Contents

Installation

root@kitploit:~
git clone https://github.com/cyeezy08/Kimai-CVE-2026-49865-POC.git
cd Kimai-CVE-2026-49865-POC
pip install -r requirements.txt

Usage

Single Target Exploit

root@kitploit:~
python3 exploit.py https://kimai.example.com
python3 exploit.py https://kimai.example.com admin --dump

Batch Exploitation

root@kitploit:~
# From a file of URLs
python3 batch_pwn.py kimai_hosts.txt results.txt 30

Shodan Discovery

root@kitploit:~
export SHODAN_API_KEY="your_key"
python3 shodan-scanner.py --search --output kimai_hosts.txt

Version Probing

root@kitploit:~
python3 deep_probe.py kimai_hosts.txt versioned_results.txt
python3 quick_scan.py hosts_file.txt

Requirements

  • Python 3.8+
  • requests — HTTP client
  • shodan — Shodan API client (only for shodan-scanner.py)

Disclaimer

This toolkit is provided for authorized security testing and research only. Unauthorized access to computer systems is illegal. Always obtain proper authorization before testing. The author assumes no liability for misuse.

License

MIT idk iam tired ok thx

도구 다운로드
FieldValue
CVECVE-2026-52824
GHSAGHSA-jr9p-4h4j-6c58
CVSS9.1 (Critical)
CWECWE-1188 — Insecure Default Resource Initialization
AffectedKimai ≤ 2.57.0 (Docker image / .env.dist)
Fixed2.58.0
CreditTrent M. (AzureADTrent)
Aspectv2.57.0 (Vulnerable)v2.58.0 (Patched)
DockerfileENV APP_SECRET=change_this_to_something_uniqueNo hardcoded default
entrypoint.shNo secret generationGenerates bin2hex(random_bytes(32)) on first boot
StorageN/APersists in /opt/kimai/var/data/.appsecret
FilePurpose
exploit.pySingle-target exploit — forges cookie and authenticates
batch_pwn.pyMulti-threaded batch exploitation against a list of hosts
quick_scan.pyTwo-pass scanner — quick filter then deep probe
deep_probe.pyVersion detection via multiple endpoints
probe_batch.pyProbe hosts from file for version + vulnerability
shodan-scanner.pyShodan integration for discovering Kimai instances