<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:32:25 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-13644] Sensitive credentials in startup options are not redacted and may be exposed</title>
                <link>https://jira.mongodb.org/browse/SERVER-13644</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #EEEEEE;border-color: #ccc;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-color: #ccc;background-color: #6CB33F;&quot;&gt;&lt;b&gt;Issue Status as of April 22, 2014&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #EEEEEE;&quot;&gt;
&lt;p&gt;&lt;b&gt;ISSUE SUMMARY&lt;/b&gt;&lt;br/&gt;
Version 2.6.0 does not correctly redact the following startup options passed into mongod: the &lt;tt&gt;PEMKeyPassword&lt;/tt&gt;, &lt;tt&gt;clusterPassword&lt;/tt&gt; and Windows &lt;tt&gt;servicePassword&lt;/tt&gt;. If these credentials are provided in the config file, they may be disclosed in the log file and via the &lt;tt&gt;getCmdLineOpts&lt;/tt&gt; command. If the credentials are provided as command line options to mongod, the &lt;tt&gt;clusterPassword&lt;/tt&gt; may additionally be disclosed via the system&apos;s process table. &lt;/p&gt;

&lt;p&gt;&lt;b&gt;USER IMPACT&lt;/b&gt;&lt;br/&gt;
Potential security risk as users with local access may be able to get access to credentials inappropriately. &lt;/p&gt;

&lt;p&gt;&lt;b&gt;WORKAROUNDS&lt;/b&gt;&lt;br/&gt;
As a work-around, we recommend to follow these security guidelines:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;make the log file readable only by the database user&lt;/li&gt;
	&lt;li&gt;use a config file to pass the options to avoid the process listing&lt;/li&gt;
	&lt;li&gt;limit access to the admin database appropriately&lt;/li&gt;
	&lt;li&gt;(only if the HTTP interface is enabled, which is off by default) restrict access to HTTP interface appropriately&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;&lt;b&gt;RESOLUTION&lt;/b&gt;&lt;br/&gt;
The patch correctly redacts the credentials.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;AFFECTED VERSIONS&lt;/b&gt;&lt;br/&gt;
Version 2.6.0 was affected by this bug.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;PATCHES&lt;/b&gt;&lt;br/&gt;
The patch is included in the 2.6.1 production release.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="131819">SERVER-13644</key>
            <summary>Sensitive credentials in startup options are not redacted and may be exposed</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="9">Done</resolution>
                                        <assignee username="sverch">Shaun Verch</assignee>
                                    <reporter username="andreas.nilsson">Andreas Nilsson</reporter>
                        <labels>
                            <label>asp</label>
                            <label>asp-cve</label>
                            <label>asp-sdl-internal</label>
                            <label>asp-vuln-secretsleak</label>
                    </labels>
                <created>Thu, 17 Apr 2014 18:07:26 +0000</created>
                <updated>Wed, 7 Jun 2017 18:56:25 +0000</updated>
                            <resolved>Fri, 18 Apr 2014 16:03:30 +0000</resolved>
                                    <version>2.6.0</version>
                                    <fixVersion>2.6.1</fixVersion>
                    <fixVersion>2.7.0</fixVersion>
                                    <component>Logging</component>
                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="554689" author="xgen-internal-githook" created="Fri, 18 Apr 2014 16:02:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Shaun Verch&apos;, u&apos;email&apos;: u&apos;shaun.verch@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13644&quot; title=&quot;Sensitive credentials in startup options are not redacted and may be exposed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13644&quot;&gt;&lt;del&gt;SERVER-13644&lt;/del&gt;&lt;/a&gt; Fix command line censorship&lt;br/&gt;
(cherry picked from commit b1d30046c769ed625faf301c8b62186c4aeee86e)&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/52faaa32ef9226cf6583e82d97caa40c46dade80&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/52faaa32ef9226cf6583e82d97caa40c46dade80&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="554686" author="xgen-internal-githook" created="Fri, 18 Apr 2014 16:02:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Shaun Verch&apos;, u&apos;email&apos;: u&apos;shaun.verch@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13644&quot; title=&quot;Sensitive credentials in startup options are not redacted and may be exposed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13644&quot;&gt;&lt;del&gt;SERVER-13644&lt;/del&gt;&lt;/a&gt; Fix command line censorship&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b1d30046c769ed625faf301c8b62186c4aeee86e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b1d30046c769ed625faf301c8b62186c4aeee86e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="553771" author="xgen-internal-githook" created="Thu, 17 Apr 2014 22:01:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Shaun Verch&apos;, u&apos;email&apos;: u&apos;shaun.verch@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13644&quot; title=&quot;Sensitive credentials in startup options are not redacted and may be exposed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13644&quot;&gt;&lt;del&gt;SERVER-13644&lt;/del&gt;&lt;/a&gt; Fix command line censorship&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 44da20890f6af02ba766ca14991bbb072395a7ef.&lt;br/&gt;
(cherry picked from commit 65213714da82cf43ba5f54d34d1c6a2923d4a0bf)&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e83de252bac4f30b7a02bc08c6bc2e14c0f187bb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e83de252bac4f30b7a02bc08c6bc2e14c0f187bb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="553770" author="xgen-internal-githook" created="Thu, 17 Apr 2014 22:01:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Shaun Verch&apos;, u&apos;email&apos;: u&apos;shaun.verch@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13644&quot; title=&quot;Sensitive credentials in startup options are not redacted and may be exposed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13644&quot;&gt;&lt;del&gt;SERVER-13644&lt;/del&gt;&lt;/a&gt; Fix command line censorship&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 44da20890f6af02ba766ca14991bbb072395a7ef.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/65213714da82cf43ba5f54d34d1c6a2923d4a0bf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/65213714da82cf43ba5f54d34d1c6a2923d4a0bf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="553689" author="xgen-internal-githook" created="Thu, 17 Apr 2014 21:01:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Shaun Verch&apos;, u&apos;email&apos;: u&apos;shaun.verch@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13644&quot; title=&quot;Sensitive credentials in startup options are not redacted and may be exposed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13644&quot;&gt;&lt;del&gt;SERVER-13644&lt;/del&gt;&lt;/a&gt; Fix command line censorship&lt;br/&gt;
(cherry picked from commit 44da20890f6af02ba766ca14991bbb072395a7ef)&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/791fcf4495b08bd8c108f3275ba4e489b4928537&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/791fcf4495b08bd8c108f3275ba4e489b4928537&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="553688" author="xgen-internal-githook" created="Thu, 17 Apr 2014 21:01:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Shaun Verch&apos;, u&apos;email&apos;: u&apos;shaun.verch@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13644&quot; title=&quot;Sensitive credentials in startup options are not redacted and may be exposed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13644&quot;&gt;&lt;del&gt;SERVER-13644&lt;/del&gt;&lt;/a&gt; Fix command line censorship&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/44da20890f6af02ba766ca14991bbb072395a7ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/44da20890f6af02ba766ca14991bbb072395a7ef&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="13794">2.6.1</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Apr 2014 18:59:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 43 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>stuart.larsen@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 43 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>andreas.nilsson</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sverch</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlwk7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>113169</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_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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11858"><![CDATA[Completed]]></customfieldvalue>

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

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