This is a summary of the AI-generated 10-question deep analysis. The full version (longer answers, follow-up Q&A, related CVEs) requires login.
Read the full analysis โ
Q1What is this vulnerability? (Essence + Consequences)
๐จ **Essence**: Thruk < 3.16 has an **OS Command Injection** flaw. ๐ When generating PDF reports, it mishandles URL parameters.โฆ
๐ก๏ธ **Root Cause**: **CWE-94** (Code Injection). ๐ The flaw lies in improper handling of URL inputs during PDF generation. ๐ The vulnerable script is `/script/html2pdf.sh`. It fails to sanitize inputs before execution.
Q3Who is affected? (Versions/Components)
๐ข **Affected**: **Thruk** by developer **Sven Nierlein** (sni). ๐ **Versions**: All versions **prior to 3.16**. ๐ It is an open-source multi-backend monitoring web interface.
Q4What can hackers do? (Privileges/Data)
๐ **Attacker Actions**: Authorized users can inject **arbitrary commands**. ๐ฅ๏ธ These execute via `/script/html2pdf.sh`. ๐ **Impact**: High severity (CVSS 9.8).โฆ
๐ **Threshold**: **Medium**. ๐ Requires **Authentication** (PR:L). โ ๏ธ You must have **report generation access**. ๐ Attack vector is **Network** (AV:N) with **Low Complexity** (AC:L). No user interaction needed (UI:N).
Q6Is there a public Exp? (PoC/Wild Exploitation)
๐ซ **Public Exp**: **None listed** in current data. ๐ `pocs` array is empty. ๐ However, the GitHub Advisory and Commit links are provided for verification. ๐ต๏ธโโ๏ธ Wild exploitation is not yet confirmed public.
Q7How to self-check? (Features/Scanning)
๐ **Self-Check**: 1. Check Thruk version (< 3.16). ๐ 2. Look for `/script/html2pdf.sh` script. ๐ 3. Test PDF report generation with malicious URL payloads. ๐ก Use scanners targeting CWE-94 in Thruk modules.
Q8Is it fixed officially? (Patch/Mitigation)
โ **Fixed**: **Yes**. ๐ Published: 2024-07-15. ๐ ๏ธ **Patch**: Upgrade to **Thruk 3.16** or later. ๐ Reference: GitHub Security Advisory (GHSA-r7gx-h738-4w6f) and Commit 7e7eb25.