VYPR
Unrated severityNVD Advisory· Published Feb 22, 2020· Updated Aug 4, 2024

CVE-2020-8813

CVE-2020-8813

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

9

Patches

Vulnerability mechanics

Root cause

"Missing input sanitization of cookie values in graph_realtime.php allows shell metacharacters to be interpreted as OS commands."

Attack vector

An attacker sends a crafted HTTP request to `graph_realtime.php` containing shell metacharacters (e.g., backticks, `$()`, semicolons) inside a cookie. If the Cacti instance is configured so that a guest user has the "graph real-time" privilege, no authentication is required. The server processes the cookie value without sanitization, passing it to a shell command, which executes the attacker's injected OS commands.

Affected code

The vulnerability resides in `graph_realtime.php` in Cacti 1.2.8. The file reads a cookie value and passes it unsanitized into a command executed by the system shell, allowing shell metacharacters in the cookie to be interpreted as OS commands.

What the fix does

The bundle does not include a patch diff. The advisory [ref_id=1] indicates that Cacti addressed this issue in a later release (the changelog for v1.2.29 and later versions lists multiple security fixes, but CVE-2020-8813 is not explicitly called out in the provided changelog excerpts). The recommended remediation is to upgrade to a patched version of Cacti that properly escapes or validates cookie input before passing it to a shell command.

Preconditions

  • configThe Cacti instance must have a guest user with the 'graph real-time' privilege enabled.
  • networkThe attacker must be able to send HTTP requests to the Cacti server (network access).
  • inputThe attacker must supply shell metacharacters in a cookie value.

Generated on May 25, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

16

News mentions

0

No linked articles in our index yet.