Vulnerability · Published Jul 15, 2024 · Assigned by GitHub_M
CVE-2024-39915Authenticated remote code execution in Thruk
Critical 10.0
In plain English
A critical-severity code injection in Thruk from sni. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities).
Official description
Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API. This authenticated RCE in Thruk allows authorized users with network access to inject arbitrary commands via the URL parameter during PDF report generation. The Thruk web application does not properly process the url parameter when generating a PDF report. An authorized attacker with access to the reporting functionality could inject arbitrary commands that would be executed when the script /script/html2pdf.sh is called. The vulnerability can be exploited by an authorized user with network access. This issue has been addressed in version 3.16. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f x_refsource_CONFIRM
- https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b x_refsource_MISC