Top Highlights
- Cacti Core 1.2.31 with guest access enabled is vulnerable to unauthenticated exploitation.
- Attackers can chain stored SQL injection into command execution on the Cacti server in four requests.
- Compromise can expose network-device credentials, enable lateral movement, and suppress monitoring alerts.
Threat, Attack Techniques, and Targets
A zero day in Cacti Core 1.2.31 can enable remote code execution when the guest account is enabled. The researcher reports that an attacker needs no login or valid API key and can reach command execution in four HTTP requests.
- First, the attacker uses guest access to store arbitrary text in the
preview_graphs_per_pagesetting. - Next, the attacker loads the graph preview page. Cacti then uses the stored value in a SQL query, which can allow arbitrary SQL execution.
- Finally, the attacker invokes the real time poller endpoint. It reads a modified database value and passes it to PHP’s
popen()function without sanitizing it.
The reported target is Cacti Core 1.2.31 with guest access enabled. The proof of concept has no CVE identifier.
Impact, Security Implications, and Remediation
Successful exploitation can compromise the Cacti server. In addition, an attacker may use it to reach other systems on the network because Cacti can store device credentials and connection details. The attacker may also alter poller data to suppress alerts.
Meanwhile, administrators should disable the guest account and restrict access to the Cacti web interface. They should also review poller configuration entries for unexpected command values. Apply the vendor’s fix as soon as it becomes available.
Stay Ahead with the Latest Tech Trends
Dive deeper into the world of Cryptocurrency and its impact on global finance.
Discover archived knowledge and digital history on the Internet Archive.
ThreatIntel-V1
