STIGQter STIGQter: STIG Summary: MongoDB Enterprise Advanced 7.x Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 01 Jul 2026:

MongoDB must obscure feedback of authentication information during the authentication process to protect the information from possible exploitation/use by unauthorized individuals.

DISA Rule

SV-265921r1028798_rule

Vulnerability Number

V-265921

Group Title

SRG-APP-000178-DB-000083

Rule Version

MD7X-00-004300

Severity

CAT I

CCI(s)

Weight

10

Fix Recommendation

For the mongo shell "mongosh", "mongodump", "mongorestore", "mongoimport", "mongoexport", which can accept a plain-text password, and any other essential tool with the same limitation:

- Document the need for it, who uses it, and any relevant mitigations, and obtain AO approval.

- Train all users of the tool in the nature of using the plain-text password option and in how to keep the password protected from unauthorized viewing/capture and document they have been trained.

To view the acceptable command line flags, execute the commands with --help for the various parameters that can be used.

For example:
mongosh --help

Example output:
mongosh
Authentication Options:

-u, --username [arg] Username for authentication
-p, --password [arg] Password for authentication

Check Contents

Restrict the environment to tools which meet this requirement.

For the MongoDB command-line tools mongo shell "mongosh", "mongodump", "mongorestore", "mongoimport", "mongoexport", which cannot be configured not to obfuscate a plain-text password, and any other essential tool with the same limitation, verify that the system documentation explains the need for the tool, who uses it, and any relevant mitigations and that authorizing official (AO) approval has been obtained.

If it is not documented, this is a finding.

Request evidence that all users of these MongoDB command-line tools are trained in the use of the "-p" or "--password" option plain-text password option and how to keep the password protected from unauthorized viewing/capture and that they adhere to this practice.

If evidence of training does not exist, this is a finding.

Vulnerability Number

V-265921

Documentable

False

Rule Version

MD7X-00-004300

Severity Override Guidance

Restrict the environment to tools which meet this requirement.

For the MongoDB command-line tools mongo shell "mongosh", "mongodump", "mongorestore", "mongoimport", "mongoexport", which cannot be configured not to obfuscate a plain-text password, and any other essential tool with the same limitation, verify that the system documentation explains the need for the tool, who uses it, and any relevant mitigations and that authorizing official (AO) approval has been obtained.

If it is not documented, this is a finding.

Request evidence that all users of these MongoDB command-line tools are trained in the use of the "-p" or "--password" option plain-text password option and how to keep the password protected from unauthorized viewing/capture and that they adhere to this practice.

If evidence of training does not exist, this is a finding.

Check Content Reference

M

Target Key

5637