Auth bypass in Gitbucket
CVE-2018-25332
GitBucket 4.23.1 contains an unauthenticated remote code execution vulnerability that allows attackers to execute arbitrary commands by exploiting weak secret token generation and insecure file upload functionality. Attackers can brute-force the Blowfish encryption key, upload a malicious JAR plugin via the git-lfs endpoint, and execute system commands through an exposed exploit endpoint.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 48.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gitbucket — versions 4.23.1
Weakness classification (CWE)
References
- Product Reference (Product, product)
- Official Product Homepage (product, Not Applicable, Press/Media Coverage)
- ExploitDB-44668 (Exploit, Patch, exploit)
- VulnCheck Advisory: GitBucket 4.23.1 Unauthenticated Remote Code Execution (Third Party Advisory, third-party-advisory)