← Vulnerability feed

Vulnerability record · CVE-2020-8813 · published 22 February 2020

CVE-2020-8813: Cacti graph_realtime.php OS command injection via cookie

Cacti · Cacti

graph_realtime.php in Cacti 1.2.8 passes cookie data into a shell command without sanitization, allowing OS command injection through shell metacharacters. It matters because the vulnerable endpoint is reachable remotely and can yield full command execution on the Cacti host.

8.8 CVSS 3.1 High EPSS 74% · top 0.5% CWE-78 · OS command injection
8.8CVSS 3.1 base score, v2 9.3
74%EPSS exploitation probability, 30 days
NoNot in CISA KEV
5Affected product versions listed by NVD
32References, 8 tagged exploit
17 Jun 2026Last modified by NVD

Description

graph_realtime.php in Cacti 1.2.8 allows remote attackers to execute arbitrary OS commands via shell metacharacters in a cookie, if a guest user has the graph real-time privilege.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityRemote OS command execution with a very high EPSS score and public exploit code, though exploitation requires a guest account holding the graph real-time privilege.

What it is

graph_realtime.php in Cacti 1.2.8 passes cookie data into a shell command without sanitization, allowing OS command injection through shell metacharacters. It matters because the vulnerable endpoint is reachable remotely and can yield full command execution on the Cacti host.

Impact

An attacker gains arbitrary OS command execution with the privileges of the web server process, enabling data theft, lateral movement or full host compromise.

Attack surface

Reached over the network via HTTP requests to graph_realtime.php; the CVSS vector indicates low privileges are required, and the description conditions exploitation on a guest user holding the graph real-time privilege. No user interaction is needed.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.73779, 99.45th percentile) and multiple references are tagged Exploit, including public unauthenticated and authenticated RCE write-ups.

What to do

  • Upgrade Cacti to a release after 1.2.8 that fixes the command injection in graph_realtime.php
  • Apply vendor patches for downstream packages (Debian, Fedora, openSUSE, Gentoo) where Cacti is bundled
  • Remove the graph real-time privilege from guest accounts and restrict the endpoint to trusted users
  • Place the Cacti web interface behind authentication and network access controls so it is not internet-exposed
  • Audit and harden the web server account permissions to limit the impact of command execution

Detection

  • Monitor web server and application logs for requests to graph_realtime.php containing shell metacharacters in Cookie headers
  • Alert on unexpected child processes spawned by the web server user (e.g. sh, bash, curl, wget)
  • Inspect outbound network connections originating from the Cacti host for signs of post-exploitation
  • Review Cacti guest accounts and privilege assignments for unexpected graph real-time access

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00042.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00048.html ExploitThird Party Advisory
http://packetstormsecurity.com/files/156537/Cacti-1.2.8-Unauthenticated-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/156538/Cacti-1.2.8-Authenticated-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/156593/Cacti-1.2.8-Unauthenticated-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/157477/Open-AudIT-Professional-3.3.1-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
https://drive.google.com/file/d/1A8hxTyk_NgSp04zPX-23nPbsSDeyDFio/view ExploitThird Party Advisory
https://gist.github.com/mhaskar/ebe6b74c32fd0f7e1eedf1aabfd44129 ExploitThird Party Advisory
https://github.com/Cacti/cacti/issues/3285 Issue TrackingThird Party Advisory
https://github.com/Cacti/cacti/releases Release Notes
https://lists.debian.org/debian-lts-announce/2022/12/msg00039.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M77SS33IDVNGBU566TK2XVU
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAX3LDXPIKWNBGVZSIMZV7L
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XEMDQXDRNQYXOME7TACKDVC
https://security.gentoo.org/glsa/202004-16 Third Party Advisory
https://shells.systems/cacti-v1-2-8-authenticated-remote-code-execution-cve-2020-8813/ ExploitThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00042.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00048.html ExploitThird Party Advisory
http://packetstormsecurity.com/files/156537/Cacti-1.2.8-Unauthenticated-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/156538/Cacti-1.2.8-Authenticated-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/156593/Cacti-1.2.8-Unauthenticated-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/157477/Open-AudIT-Professional-3.3.1-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
https://drive.google.com/file/d/1A8hxTyk_NgSp04zPX-23nPbsSDeyDFio/view ExploitThird Party Advisory
https://gist.github.com/mhaskar/ebe6b74c32fd0f7e1eedf1aabfd44129 ExploitThird Party Advisory
https://github.com/Cacti/cacti/issues/3285 Issue TrackingThird Party Advisory
https://github.com/Cacti/cacti/releases Release Notes
https://lists.debian.org/debian-lts-announce/2022/12/msg00039.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M77SS33IDVNGBU566TK2XVU
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAX3LDXPIKWNBGVZSIMZV7L
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XEMDQXDRNQYXOME7TACKDVC
https://security.gentoo.org/glsa/202004-16 Third Party Advisory
https://shells.systems/cacti-v1-2-8-authenticated-remote-code-execution-cve-2020-8813/ ExploitThird Party Advisory

Track CVE-2020-8813 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2020-8813), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.