Check: ML09-00-003300
MarkLogic Server v9 STIG:
ML09-00-003300
(in versions v2 r2 through v1 r1)
Title
Access to external executables must be disabled or restricted. (Cat II impact)
Discussion
Information systems are capable of providing a wide variety of functions and services. Some of the functions and services, provided by default, may not be necessary to support essential organizational operations (e.g., key missions, functions). It is detrimental for applications to provide, or install by default, functionality exceeding requirements or mission objectives. Applications must adhere to the principles of least functionality by providing only essential capabilities. DBMSs may spawn additional external processes to execute procedures that are defined in the DBMS but stored in external host files (external procedures). The spawned process used to execute the external procedure may operate within a different OS security context than the DBMS and provide unauthorized access to the host system.
Check Content
Verify whether external executables are being used. If so, check with the ISSO to determine if the use of the external executables (MLSQL/odbc client and Converters) is authorized. If it is not, this is a finding. To check for Converters, issue the following command at a command prompt with a user that has administrative privileges. > sudo yum info MarkLogicConverters If the command returns information on the version of MarkLogic converters installed, and use of this package has not been authorized, this is a finding. To check for MLSQL/odbc client, issue the following command at a command prompt with a user that has administrative privileges. > sudo yum info mlsqlodbc If the command returns information on the version of MLSQL odbc client install, and use of this package has not been authorized, this is a finding.
Fix Text
If the use of the included external executables (MLSQL/odbc and/or CONVERT) is not authorized by the ISSO then remove the executables from the MarkLogic installation directory, find the executables by name for the different operating systems. To remove Converters, issue the following command at a command prompt with a user that has administrative privileges. > sudo yum remove MarkLogicConverters To remove MLSQL/odbc client, issue the following command at a command prompt with a user that has administrative privileges. > sudo yum info mlsqlodbc
Additional Identifiers
Rule ID: SV-220361r879587_rule
Vulnerability ID: V-220361
Group Title: SRG-APP-000141-DB-000093
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000381 |
The organization configures the information system to provide only essential capabilities. |
Controls
Number | Title |
---|---|
CM-7 |
Least Functionality |