Advisories

Sliver 1.5.27 - 1.7.9 Teamserver DoS via Unchecked Type Assertion in gRPC Audit Interceptor

Go back
Severity
medium
Date
Affecting
  • sliver >= 1.5.27, <= 1.7.9

CWE
  • CWE-704 Incorrect Type Conversion or Cast
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
Ashik Mohamed (ashikmd7)
Description
Sliver versions 1.5.27 through 1.7.9, fixed in commit cfc3f58, contain an unchecked type assertion in the multiplayer gRPC audit interceptor that allows an authenticated operator to crash the entire teamserver. The getActiveTarget function in server/transport/middleware.go asserts that the top-level Request field of each JSON-marshaled unary request is an object, but clientpb.BeaconTask.Request is a byte array that marshals to a base64 string, so a GetBeaconTaskContent or CancelBeaconTask call with a non-empty Request field triggers a panic. No interceptor recovers the panic, so the teamserver process exits, disconnecting all operators and dropping every session and beacon connection, and the request can be repeated.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.