PoC Monitor
← All CVEs
CVE-2025-40775published 21 May 2025 12:35 UTCData: JSON · API

ISC BIND 9

DNS message with invalid TSIG causes an assertion failure

When an incoming DNS protocol message includes a Transaction Signature (TSIG), BIND always checks it. If the TSIG contains an invalid value in the algorithm field, BIND immediately aborts with an assertion failure. This issue affects BIND 9 versions 9.20.0 through 9.20.8 and 9.21.0 through 9.21.7.

First public PoC 1.5 daysafter publication · 23 May 2025
Public PoCs11 on GitHub
CVSS7.5high · scored by CNA · CWE-232
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

ISC BIND 9
  • >= 9.20.0, <= 9.20.8
  • >= 9.21.0, <= 9.21.7

Mitigation

Upgrade to the patched release most closely related to your current version of BIND 9: 9.20.9 or 9.21.8.

Workaround

No workarounds known.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published21 May 2025 · t = 0First public PoC23 May 2025 · t+1.5d

First public PoC 1.5 days after publication; not in CISA KEV. First PoC: AlexSvobo/nhi-zero-trust-bypass (created 23 May 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
AlexSvobo/nhi-zero-trust-bypass 23 May 2025 +1.5 d 6 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /v1/secrets

Key headers
Authorization: Bearer {var}
Ports
5000
Seen in
1 repo: AlexSvobo/nhi-zero-trust-bypass
Evidence
AlexSvobo/nhi-zero-trust-bypass/bypass_demo.py:10

POST /rotate_secret

Ports
5000, 8200
Seen in
1 repo: AlexSvobo/nhi-zero-trust-bypass
Evidence
AlexSvobo/nhi-zero-trust-bypass/client_nhi_rotation.py:17

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /get_secret
(?i)^/get_secret(?:[?#].*)?$
GET /v1/secrets
(?i)^/v1/secrets(?:[?#].*)?$
POST /rotate_secret
(?i)^/rotate_secret(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /get_secret
alert http any any -> $HOME_NET [5000,8200] (msg:"GG PoC-Monitor CVE-2025-40775 ISC BIND 9 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/get_secret"; reference:url,poc.griffinguard.io/cve/CVE-2025-40775; classtype:web-application-attack; sid:9217861; rev:1;)
GET /v1/secrets
alert http any any -> $HOME_NET [5000] (msg:"GG PoC-Monitor CVE-2025-40775 ISC BIND 9 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/v1/secrets"; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-40775; classtype:web-application-attack; sid:9850027; rev:1;)
POST /rotate_secret
alert http any any -> $HOME_NET [5000,8200] (msg:"GG PoC-Monitor CVE-2025-40775 ISC BIND 9 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/rotate_secret"; reference:url,poc.griffinguard.io/cve/CVE-2025-40775; classtype:web-application-attack; sid:9111372; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /get_secret
title: ISC BIND 9 exploit attempt (CVE-2025-40775)
id: gg-pocmon-cve-2025-40775-9217861
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-40775. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-40775
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/get_secret'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.40775
GET /v1/secrets
title: ISC BIND 9 exploit attempt (CVE-2025-40775)
id: gg-pocmon-cve-2025-40775-9850027
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-40775. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-40775
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/v1/secrets'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.40775
POST /rotate_secret
title: ISC BIND 9 exploit attempt (CVE-2025-40775)
id: gg-pocmon-cve-2025-40775-9111372
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-40775. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-40775
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/rotate_secret'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.40775