Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Unbound - small DNS Rebinding Security Issue

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 4 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sebastiannielsen
      last edited by

      Hello.
      Found a small DNS Rebinding Security issue, and that is that 127.0.0.0/8 is not covered by rebinding protection.

      Using "custom" config does not work at all (yelds a invalid config).

      However, if you use File manager, you can easy go into: /usr/local/pkg/unbound.inc, scroll down until you find "private-address: 10.0.0.0/8" and then add the following entry:

      private-address: 127.0.0.0/8

      The whole block should read:

      For DNS Rebinding prevention

      private-address: 10.0.0.0/8
      private-address: 127.0.0.0/8
      private-address: 172.16.0.0/12
      private-address: 192.168.0.0/16
      private-address: 192.254.0.0/16
      private-address: fd00::/8
      private-address: fe80::/10

      Testing tools should now report that you have full IPv4 DNS Rebinding protection, rather than "partial IPv4 DNS Rebinding protection".

      Maybe this can be patched into the package?

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        you should contact the maintainer of unbound to get this added to the updated
        package… (wagonza)

        nice catch.

        1 Reply Last reply Reply Quote 0
        • R
          Reiner030
          last edited by

          @SunCatalyst:

          you should contact the maintainer of unbound to get this added to the updated
          package… (wagonza)

          … We both hope that he is reading this forum ? ;)

          1 Reply Last reply Reply Quote 0
          • W
            wagonza
            last edited by

            A bit late on this thread - but adding 127.0.0.0/8 would hinder mail servers making use of RBLs.

            Follow me on twitter http://twitter.com/wagonza
            http://www.thepackethub.co.za

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.