{"description": "Crypto Policies provide a centralized control over crypto algorithms usage of many packages.\nOpenSSL is supported by crypto policy, but the OpenSSL configuration may be\nset up to ignore it.\nTo check that Crypto Policies settings are configured correctly, you have to examine the OpenSSL config file\navailable under <tt>/etc/pki/tls/openssl.cnf</tt>.\nThis file has the <tt>ini</tt> format, and it enables crypto policy support\nif there is a <tt>[ crypto_policy ]</tt> section that contains the <tt>.include /etc/crypto-policies/back-ends/opensslcnf.config</tt> directive.", "rationale": "Overriding the system crypto policy makes the behavior of the Java runtime violates expectations,\nand makes system configuration more fragmented.", "severity": "medium", "references": {"nerc-cip": ["CIP-003-8 R4.2", "CIP-007-3 R5.1", "CIP-007-3 R7.1"], "nist": ["AC-17(a)", "AC-17(2)", "CM-6(a)", "MA-4(6)", "SC-13", "SC-12(2)", "SC-12(3)"], "ospp": ["FCS_CKM.1", "FCS_CKM.1.1", "FCS_CKM.2", "FCS_COP.1/ENCRYPT", "FCS_COP.1/HASH", "FCS_COP.1/SIGN", "FCS_COP.1/KEYHMAC", "FCS_TLSC_EXT.1", "FCS_TLSC_EXT.1.1"], "pcidss": ["Req-2.2"], "srg": ["SRG-OS-000250-GPOS-00093"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the OpenSSL config file doesn't contain the whole section,\nor the section doesn't contain the <pre>.include /etc/crypto-policies/back-ends/opensslcnf.config</pre> directive", "ocil": "To verify that OpenSSL uses the system crypto policy, check out that the OpenSSL config file\n<pre>/etc/pki/tls/openssl.cnf</pre> contains the <pre>[ crypto_policy ]</pre> section with the\n<pre>.include /etc/crypto-policies/back-ends/opensslcnf.config</pre> directive:\n\n<pre>$ sudo grep '\\.include\\s* /etc/crypto-policies/back-ends/opensslcnf.config$' /etc/pki/tls/openssl.cnf</pre>.", "oval_external_content": null, "fixtext": "Configure OpenSSL to use the system cryptography policy.\n\nAdd or edit the \"[ crypto_policy ]\" section in \"/etc/pki/tls/openssl.cnf\" to contain the following line:\n\n.include /etc/crypto-policies/back-ends/opensslcnf.config", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must implement approved encryption in the OpenSSL package.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must implement DOD-approved encryption in the OpenSSL package.", "vuldiscussion": "Without cryptographic integrity protections, information can be altered by unauthorized users without detection.\n\nRemote access (e.g., RDP) is access to DOD nonpublic information systems by an authorized user (or an information system) communicating through an external, nonorganization-controlled network. Remote access methods include, for example, dial-up, broadband, and wireless.\n\nCryptographic mechanisms used for protecting the integrity of information include, for example, signed hash functions using asymmetric cryptography enabling distribution of the public key to verify the hash information while maintaining the confidentiality of the secret key used to generate the hash.\n\nThe employed algorithms can be viewed in the /etc/crypto-policies/back-ends/openssl.config file.", "checktext": "Verify that Ubuntu 22.04 OpenSSL library is configured to use only ciphers employing FIPS 140-3 approved algorithms with the following command:\n\n$ sudo grep -i opensslcnf.config /etc/pki/tls/openssl.cnf\n\n.include = /etc/crypto-policies/back-ends/opensslcnf.config\n\nIf the \"opensslcnf.config\" is not defined in the \"/etc/pki/tls/openssl.cnf\" file, this is a finding.", "fixtext": "Configure the Ubuntu 22.04 OpenSSL library to use the system cryptographic policy.\n\nEdit the \"/etc/pki/tls/openssl.cnf\" and add or modify the following line:\n\n.include = /etc/crypto-policies/back-ends/opensslcnf.config"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Configure OpenSSL library to use System Crypto Policy", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/integrity/crypto/configure_openssl_crypto_policy/rule.yml", "template": null}