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**: Critical SQL Injection in Cacti's `graph_view.php`. ๐ฅ **Consequences**: Attackers can modify the database, steal data, and potentially execute remote code (RCE).โฆ
๐ก๏ธ **CWE-89**: Improper Neutralization of Special Elements used in an SQL Command. ๐ **Flaw**: The `rfilter` parameter in the `grow_right_pane_tree` function is not properly sanitized.โฆ
๐ฆ **Product**: Cacti (Open-source network monitoring). ๐ **Affected**: All versions **before 1.2.24**. โ **Fixed**: Version 1.2.25 and later are safe.
Q4What can hackers do? (Privileges/Data)
๐ต๏ธ **Privileges**: Can usurp administrative privileges. ๐พ **Data**: Extract sensitive info like `id`, `username`, and database contents. ๐ **Impact**: Remote Code Execution (RCE) is possible via database manipulation.
Q5Is exploitation threshold high? (Auth/Config)
โ ๏ธ **Auth**: **NO Authentication Required!** ๐ **Config**: Default settings allow 'guest' users to access `graph_view.php`. This makes the exploitation threshold **extremely low** and dangerous.
Q6Is there a public Exp? (PoC/Wild Exploitation)
๐ฅ **Yes, Public Exploitation Exists**. ๐ **PoCs**: Available on GitHub (e.g., `vulhub`, `projectdiscovery/nuclei-templates`). ๐งช **Tools**: Nuclei templates are already published for automated scanning.
Q7How to self-check? (Features/Scanning)
๐ **Self-Check**: Scan for `graph_view.php` with `rfilter` parameter. ๐ ๏ธ **Tools**: Use Nuclei with the CVE-2023-39361 template. ๐ **Indicator**: Check if guest access is enabled and version < 1.2.24.
Q8Is it fixed officially? (Patch/Mitigation)
๐ฉน **Official Fix**: Upgrade to **Cacti 1.2.25** or newer. ๐ข **Advisory**: See GHSA-6r43-q2fw-5wrg on GitHub. ๐ซ **No Workarounds**: The vendor states there are no known safe workarounds other than patching.
Q9What if no patch? (Workaround)
๐ง **Mitigation**: If you cannot patch immediately, **disable guest user access** in Cacti settings. ๐ **Network**: Restrict access to `graph_view.php` via firewall/WAF rules.โฆ