Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15293

Anonymous connections are allowed even when auth is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Security
    • None
    • ALL

    Description

      It is a big security risk to allow anonymous authentication against a mongo server. This allows an unauthorized user to gain attack vector information about the database.

      All of the below commands can be run using an anonymous authentication:

      db.serverBuildInfo()
      db.version()
      db.adminCommand({ping:1})
      db.adminCommand({whatsmyuri:1})
      db.adminCommand({features:1})

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jtcooke James Cooke
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: