<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:31:52 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-76111] the common users(with readWrite role on system db) can modify the system collection&apos;s data,it is very dangerous,this can cause serious problems.</title>
                <link>https://jira.mongodb.org/browse/SERVER-76111</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;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,&lt;br/&gt;
config.cache.xx, etc).The reason is that we missed some system namespace when we judge the nornal collection.&lt;/p&gt;

&lt;p&gt;the verification steps are as follows&#65306;&lt;/p&gt;

&lt;p&gt;step 1: create a user that can read and write config,local,admin&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/442992/442992_image-2023-04-14-20-39-10-234.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;step 2: log in the cluster with the user, we can verify system namespace data&#65292; even drop system namespace&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/442991/442991_image-2023-04-14-20-43-39-121.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/442990/442990_image-2023-04-14-20-45-20-986.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2314907">SERVER-76111</key>
            <summary>the common users(with readWrite role on system db) can modify the system collection&apos;s data,it is very dangerous,this can cause serious problems.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="sara.golemon@mongodb.com">Sara Golemon</assignee>
                                    <reporter username="1147952115@qq.com">y yz</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Apr 2023 12:47:20 +0000</created>
                <updated>Fri, 19 Jan 2024 16:17:23 +0000</updated>
                            <resolved>Fri, 19 Jan 2024 16:17:23 +0000</resolved>
                                    <version>5.0 Required</version>
                    <version>4.0 Required</version>
                    <version>4.2 Required</version>
                    <version>4.4 Required</version>
                    <version>6.0 Required</version>
                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="6026008" author="sara.golemon" created="Fri, 19 Jan 2024 16:17:23 +0000"  >&lt;p&gt;Closed PR due to requirements on these collections.&lt;/p&gt;</comment>
                            <comment id="5775622" author="1147952115@qq.com" created="Fri, 13 Oct 2023 07:14:23 +0000"  >&lt;p&gt;hi,&#160;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sara.golemon%40mongodb.com&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Sara Golemon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do you have the conclusion of this question? If so, we can synchronize it. Thank you.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;thanks.&lt;/p&gt;</comment>
                            <comment id="5353281" author="sara.golemon" created="Mon, 17 Apr 2023 17:29:48 +0000"  >&lt;p&gt;To rephrase this ticket, OP seems to want us to include more namespaces as &quot;non-normal&quot;, requiring them to be explicitly granted for access rather than being implicitly included in roles such as `readWrite`.&#160; This is probably fine, as it moves us to a more default-closed state, but it&apos;s going to require some careful testing and probably expansion of roles such as `clusterMonitor` to explicitly include these namespaces so that existing valid users don&apos;t break.&lt;/p&gt;</comment>
                            <comment id="5347732" author="1147952115@qq.com" created="Fri, 14 Apr 2023 14:24:55 +0000"  >&lt;p&gt;the pushed code address: &lt;a href=&quot;https://github.com/mongodb/mongo/pull/1539&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/1539&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;thanks.&lt;/p&gt;</comment>
                            <comment id="5347724" author="1147952115@qq.com" created="Fri, 14 Apr 2023 14:23:14 +0000"  >&lt;p&gt;besides db.system.xxxx and local.replset.xxx, the normal collection should eliminate other system namespace.for example, config.transactions, config.cache.xxx, config.migrationCoordinators, local.startup_log, etc.&lt;/p&gt;

&lt;p&gt;after perfect the code, the common readWrite user can not see the system namespace, as following:&lt;/p&gt;

&lt;p&gt;shard server:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/443032/443032_image-2023-04-14-22-23-00-492.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;config server:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/443035/443035_image-2023-04-14-22-26-41-220.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;mongos:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/443042/443042_image-2023-04-14-22-36-10-185.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="442992" name="image-2023-04-14-20-39-10-234.png" size="36659" author="1147952115@qq.com" created="Fri, 14 Apr 2023 12:39:11 +0000"/>
                            <attachment id="442991" name="image-2023-04-14-20-43-39-121.png" size="75784" author="1147952115@qq.com" created="Fri, 14 Apr 2023 12:43:42 +0000"/>
                            <attachment id="442990" name="image-2023-04-14-20-45-20-986.png" size="74807" author="1147952115@qq.com" created="Fri, 14 Apr 2023 12:45:22 +0000"/>
                            <attachment id="443032" name="image-2023-04-14-22-23-00-492.png" size="54633" author="1147952115@qq.com" created="Fri, 14 Apr 2023 14:23:01 +0000"/>
                            <attachment id="443035" name="image-2023-04-14-22-26-41-220.png" size="48950" author="1147952115@qq.com" created="Fri, 14 Apr 2023 14:26:42 +0000"/>
                            <attachment id="443042" name="image-2023-04-14-22-36-10-185.png" size="96035" author="1147952115@qq.com" created="Fri, 14 Apr 2023 14:36:12 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25129"><![CDATA[Server Security]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 14 Apr 2023 13:21:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>sara.golemon@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>sara.golemon@mongodb.com</customfieldvalue>
            <customfieldvalue>1147952115@qq.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i24qxr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2mr20:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6924">Security 2023-05-01</customfieldvalue>
    <customfieldvalue id="6925">Security 2023-05-15</customfieldvalue>
    <customfieldvalue id="8158">Security 2024-01-22</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i24d33:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>