{"description": "SSSD should be configured to verify the certificate of the user or group. To set this up\n ensure that section like <tt>certmap/testing.test/rule_name</tt> is setup in\n<tt>/etc/sssd/sssd.conf</tt>. For example\n<pre>\n[certmap/testing.test/rule_name]\nmatchrule =&lt;SAN&gt;.*EDIPI@mil\nmaprule = (userCertificate;binary={cert!bin})\ndomains = testing.test\n</pre>", "rationale": "Without mapping the certificate used to authenticate to the user account, the ability to\ndetermine the identity of the individual user or group will not be available for forensic\nanalysis.", "severity": "medium", "references": {"nist": ["IA-5 (2) (c)"], "srg": ["SRG-OS-000068-GPOS-00036"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "Certmap is not configured in SSSD", "ocil": "To verify Certmap is enabled in SSSD, run the following command:\n<pre>$ sudo cat /etc/sssd/sssd.conf</pre>\nIf configured properly, output should contain section like the following\n<pre>\n[certmap/testing.test/rule_name]\nmatchrule =&lt;SAN&gt;.*EDIPI@mil\nmaprule = (userCertificate;binary={cert!bin})\ndomains = testing.test\n</pre>", "oval_external_content": null, "fixtext": "Configure Ubuntu 22.04 to map the authenticated identity to the user or group account by adding or modifying the certmap section of the \"/etc/sssd/sssd.conf\" file based on the following example:\n\n[certmap/testing.test/rule_name]\nmatchrule =<SAN>.*EDIPI@mil\nmaprule = (userCertificate;binary={cert!bin})\ndmains = testing.test\n\nThe \"sssd\" service must be restarted for the changes to take effect. To restart the \"sssd\" service, run the following command:\n\n$ sudo systemctl restart sssd.service", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must map the authenticated identity to the user or group account for PKI-based authentication.", "warnings": [{"general": "Automatic remediation of this control is not available, since all of the settings in\nin the certmap need to be customized."}], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must map the authenticated identity to the user or group account for PKI-based authentication.", "vuldiscussion": "Without mapping the certificate used to authenticate to the user account, the ability to determine the identity of the individual user or group will not be available for forensic analysis.", "checktext": "Verify the certificate of the user or group is mapped to the corresponding user or group in the \"sssd.conf\" file with the following command:\n\n$ sudo find /etc/sssd/sssd.conf /etc/sssd/conf.d/ -type f -exec cat {} \\;\n\n[certmap/testing.test/rule_name]\nmatchrule =&lt;SAN&gt;.*EDIPI@mil\nmaprule = (userCertificate;binary={cert!bin})\ndomains = testing.test\n\nIf the certmap section does not exist, ask the system administrator (SA) to indicate how certificates are mapped to accounts.\n\nIf there is no evidence of certificate mapping, this is a finding.", "fixtext": "Configure Ubuntu 22.04 to map the authenticated identity to the user or group account by adding or modifying the certmap section of the \"/etc/sssd/sssd.conf\" file based on the following example:\n\n[certmap/testing.test/rule_name]\nmatchrule = .*EDIPI@mil\nmaprule = (userCertificate;binary={cert!bin})\ndomains = testing.test\n\nThe \"sssd\" service must be restarted for the changes to take effect. To restart the \"sssd\" service, run the following command:\n\n$ sudo systemctl restart sssd.service"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["package[sssd]"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["package_sssd"], "bash_conditional": null, "fixes": {}, "title": "Enable Certmap in SSSD", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/sssd/sssd_enable_certmap/rule.yml", "template": {"name": "lineinfile", "vars": {"path": "/etc/sssd/sssd.conf", "text": "\\[certmap\\/.+\\/.+\\]", "escape_text": "false"}, "backends": {"ansible": "off", "bash": "off"}}}