CVE-2023-24512

Summary

On affected platforms running Arista EOS, an authorized attacker with permissions to perform gNMI requests could craft a request allowing it to update arbitrary configurations in the switch. This situation occurs only when the Streaming Telemetry Agent (referred to as the TerminAttr agent) is enabled and gNMI access is configured on the agent. Note: This gNMI over the Streaming Telemetry Agent scenario is mostly commonly used when streaming to a 3rd party system and is not used by default when streaming to CloudVision

Affected Software

VendorProductVersion RangeStatus
Arista NetworksTerminattr1.23.0affected
Arista NetworksTerminattrunspecified <= 1.19.5affected
Arista NetworksTerminattr1.24.0 <= 1.24.3affected
Arista NetworksTerminattr1.22.0 <= 1.22.1affected

Weaknesses

  • CWE-284: CWE-284 Improper Access Control

Workarounds

The streaming telemetry agent can be configured in gRPC read-only mode by specifying -grpcreadonly as part of its configuration. For instance as follows:

switch# daemon TerminAttr exec /usr/bin/TerminAttr -grpcreadonly -grpcaddr=… <other options…> no shutdown

If TerminAttr is running, it must be restarted for the configuration to take effect. This can be done as follows:

switch# daemon TerminAttr shutdown wait-for-warmup no shutdown

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References