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

the common users(with readWrite role on system db) can modify the system collection's data,it is very dangerous,this can cause serious problems.

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0 Required, 4.0 Required, 4.2 Required, 4.4 Required, 6.0 Required
    • Component/s: None
    • None
    • Server Security
    • ALL
    • Security 2023-05-01, Security 2023-05-15, Security 2024-01-22

      When we create an account that can read and write the system db(admin,config,local), the account can modify the system namespace(config.transactions,config.chunks.xxx,
      config.cache.xx, etc).The reason is that we missed some system namespace when we judge the nornal collection.

      the verification steps are as follows:

      step 1: create a user that can read and write config,local,admin

      step 2: log in the cluster with the user, we can verify system namespace data, even drop system namespace

        1. image-2023-04-14-20-39-10-234.png
          image-2023-04-14-20-39-10-234.png
          36 kB
        2. image-2023-04-14-20-43-39-121.png
          image-2023-04-14-20-43-39-121.png
          74 kB
        3. image-2023-04-14-20-45-20-986.png
          image-2023-04-14-20-45-20-986.png
          73 kB
        4. image-2023-04-14-22-23-00-492.png
          image-2023-04-14-22-23-00-492.png
          53 kB
        5. image-2023-04-14-22-26-41-220.png
          image-2023-04-14-22-26-41-220.png
          48 kB
        6. image-2023-04-14-22-36-10-185.png
          image-2023-04-14-22-36-10-185.png
          94 kB

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            1147952115@qq.com y yz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: