github.com/bishopfox/sliver
Affected
- introduced
0, fixed1.6.12(semver)
Fixed versions
1.6.12
Fix
- Fixed version
1.6.12go get github.com/bishopfox/[email protected]
Advisory
Also known as: CVE-2026-25791, GO-2026-4466
Sliver has DNS C2 OTP Bypass that Allows Unauthenticated Session Flooding and Denial of Service
Summary
The DNS C2 listener accepts unauthenticated TOTP bootstrap messages and allocates server-side DNS sessions without validating OTP values, even when EnforceOTP is enabled. Because sessions are stored without a cleanup/expiry path in this flow, an unauthenticated remote actor can repeatedly create sessions and drive memory exhaustion.
Vulnerable Component
server/c2/dns.go:84-90 (EnforceOTP stored but not enforced in bootstrap)server/c2/dns.go:378-390 (TOTP requests routed directly to bootstrap)server/c2/dns.go:490-521 (handleHello allocates session without OTP validation)server/c2/dns.go:495 (sessions.Store with no lifecycle control in this path)client/command/jobs/dns.go:46-52 (operator-facing EnforceOTP control implies auth gate)implant/sliver/transports/dnsclient/dnsclient.go:896-900 (otpMsg sends TOTP with ID=0)protobuf/dnspb/dns.proto:22 (documents TOTP in ID field)Attack Vector
DNSMessageType_TOTP bootstrap handlingProof of Concept
Preconditions
Reproduction Steps
TOTP.Example
while true; do
dig +short @<DNS_C2_IP> baa8.<parent-domain> A >/dev/null
done
baa8 is a base32 payload for a minimal TOTP-type protobuf message.
Observable Indicators
handleHelloImpact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5 High)High Basis: The source's own band: HIGH
0, fixed 1.6.12 (semver)1.6.12
1.6.12go get github.com/bishopfox/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0