The TSIG That Wasn’t: Finding an Authentication Bypass Across CoreDNS Transports
The gRPC and QUIC transports in CoreDNS checked whether a TSIG key name existed in the server configuration but did not verify the HMAC attached to the DNS message. An attacker could bypass TSIG authentication on those transports.
Application Security
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the gRPC and QUIC transport handlers only checked for the presence of a configured TSIG key name and skipped the HMAC verification step that other transports perform.
What the attacker needed
Access to gRPC or QUIC transport; a configured TSIG key name
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
TSIG is a way to sign DNS messages so the server can check they really came from someone who knows a shared secret. CoreDNS has several ways to receive DNS queries, and two of them only checked that a key name was configured, not that the signature was correct. That means someone could send unsigned or wrongly signed messages and still be treated as authenticated.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.