---
title: "CVE-2007-2925: allow-query-cache/allow-recursion default acls not set"
slug: "aa-00920"
description: "The default access control lists (acls) are not being correctly set. If not set anyone can make recursive queries and/or query the cache contents."
updated: 2025-03-24T21:55:51Z
published: 2025-03-24T21:55:51Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.isc.org/llms.txt
> Use this file to discover all available pages before exploring further.

# CVE-2007-2925: allow-query-cache/allow-recursion default acls not set

The default access control lists (acls) are not being correctly set.

CVE:

[CVE-2007-2925](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2925)

Posting date:

24 Jul 2007

Program Impacted:

[BIND](https://www.isc.org/software/bind)

Versions affected:

9.4.0, 9.4.1, 9.5.0a1, 9.5.0a2, 9.5.0a3, 9.5.0a4, 9.5.0a5

Severity:

Medium

Exploitable:

Remotely

**Description:**

The default access control lists (acls) are not being correctly set. If not set anyone can make recursive queries and/or query the cache contents.

**Workarounds:**

```
                Explicitly set allow-query-cache and allow-recursion acl's if not already set to:
```

{ localnets; localhost; };

If recursion is supposed to be allowed to local clients (default).

options {recursion yes; // defaultallow-recursion { localnets; localhost; };allow-query-cache { localnets; localhost; };...};

If recursion is disallowed.

options {recursion no;allow-query-cache { localnets; localhost; };...};

**Active exploits:**

None known at this time.

**Related Documents:**

See our [BIND Security Matrix](https://kb.isc.org/docs/aa-00913) for a complete listing of Security Vulnerabilities and versions affected.

If you'd like more information on our Forum or product support please visit [www.isc.org/support](http://www.isc.org/support).

**Do you still have questions?** Questions regarding this advisory should go to [security-officer@isc.org](mailto:security-officer@isc.org)

**Note:** ISC patches only [currently supported versions](http://www.isc.org/software/bind/versions). When possible we indicate EOL versions affected.

**ISC Security Vulnerability Disclosure Policy:** Details of our current security advisory policy and practice can be found here: [https://www.isc.org/security-vulnerability-disclosure-policy](https://www.isc.org/security-vulnerability-disclosure-policy)

This Knowledge Base article [https://kb.isc.org/docs/aa-00920](https://kb.isc.org/docs/aa-00920) is the complete and official security advisory document.

**Legal Disclaimer:** Internet Systems Consortium (ISC) is providing this notice on an "AS IS" basis. No warranty or guarantee of any kind is expressed in this notice and none should be implied. ISC expressly excludes and disclaims any warranties regarding this notice or materials referred to in this notice, including, without limitation, any implied warranty of merchantability, fitness for a particular purpose, absence of hidden defects, or of non-infringement. Your use or reliance on this notice or materials referred to in this notice is at your own risk. ISC may change this notice at any time. A stand-alone copy or paraphrase of the text of this document that omits the document URL is an uncontrolled copy. Uncontrolled copies may lack important information, be out of date, or contain factual errors.

**© 2001-2018 Internet Systems Consortium** For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our [community mailing list archives](https://lists.isc.org/mailman/listinfo) and/or posting your question there (you will need to register there first for your posts to be accepted). The [bind-users](https://lists.isc.org/mailman/listinfo/bind-users) and the [dhcp-users](https://lists.isc.org/mailman/listinfo/dhcp-users) lists particularly have a long-standing and active membership. ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our [main website](https://www.isc.org/support).
