{"description": "SSSD must have acceptable trust anchor present.", "rationale": "Without path validation, an informed trust decision by the relying party cannot be made when\npresented with any certificate not already explicitly trusted.\n\nA trust anchor is an authoritative entity represented via a public key and associated data. It\nis used in the context of public key infrastructures, X.509 digital certificates, and DNSSEC.\n\nWhen there is a chain of trust, usually the top entity to be trusted becomes the trust anchor;\nit can be, for example, a Certification Authority (CA). A certification path starts with the\nsubject certificate and proceeds through a number of intermediate certificates up to a trusted\nroot certificate, typically issued by a trusted CA.\n\nThis requirement verifies that a certification path to an accepted trust anchor is used for\ncertificate validation and that the path includes status information. Path validation is\nnecessary for a relying party to make an informed trust decision when presented with any\ncertificate not already explicitly trusted. Status information for certification paths includes\ncertificate revocation lists or online certificate status protocol responses.\nValidation of the certificate status information is out of scope for this requirement.", "severity": "medium", "references": {"nist": ["IA-5 (2) (a)"], "srg": ["SRG-OS-000066-GPOS-00034", "SRG-OS-000384-GPOS-00167"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "root CA file is not a DoD-issued certificate with a valid date and installed in the /etc/sssd/pki/sssd_auth_ca_db.pem location", "ocil": "Verify Ubuntu 22.04 for PKI-based authentication has valid certificates by constructing a\ncertification path (which includes status information) to an accepted trust anchor.\n\nCheck that the system has a valid DoD root CA installed with the following command:\n\n$ sudo openssl x509 -text -in /etc/sssd/pki/sssd_auth_ca_db.pem\n\nCertificate:\nData:\nVersion: 3 (0x2)\nSerial Number: 1 (0x1)\nSignature Algorithm: sha256WithRSAEncryption\nIssuer: C = US, O = U.S. Government, OU = DoD, OU = PKI, CN = DoD Root CA 3\nValidity\nNot Before: Mar 20 18:46:41 2012 GMT\nNot After : Dec 30 18:46:41 2029 GMT\nSubject: C = US, O = U.S. Government, OU = DoD, OU = PKI, CN = DoD Root CA 3\nSubject Public Key Info:\nPublic Key Algorithm: rsaEncryption", "oval_external_content": null, "fixtext": "Configure Ubuntu 22.04, for PKI-based authentication, to validate certificates by\nconstructing a certification path (which includes status information) to an accepted trust anchor.\n\nObtain a valid copy of the DoD root CA file from the PKI CA certificate bundle at cyber.mil and\ncopy into the following file:\n\n/etc/sssd/pki/sssd_auth_ca_db.pem", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04, for PKI-based authentication, must validate certificates by constructing a certification path (which includes status information) to an accepted trust anchor.", "warnings": [{"general": "Automatic remediation of this control is not available."}], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04, for PKI-based authentication, must validate certificates by constructing a certification path (which includes status information) to an accepted trust anchor.", "vuldiscussion": "Without path validation, an informed trust decision by the relying party cannot be made when presented with any certificate not already explicitly trusted.\n\nA trust anchor is an authoritative entity represented via a public key and associated data. It is used in the context of public key infrastructures, X.509 digital certificates, and DNSSEC.\n\nWhen there is a chain of trust, usually the top entity to be trusted becomes the trust anchor; it can be, for example, a certification authority (CA). A certification path starts with the subject certificate and proceeds through a number of intermediate certificates up to a trusted root certificate, typically issued by a trusted CA.\n\nThis requirement verifies that a certification path to an accepted trust anchor is used for certificate validation and that the path includes status information. Path validation is necessary for a relying party to make an informed trust decision when presented with any certificate not already explicitly trusted. Status information for certification paths includes certificate revocation lists or online certificate status protocol responses. Validation of the certificate status information is out of scope for this requirement.", "checktext": "Verify Ubuntu 22.04 for PKI-based authentication has valid certificates by constructing a certification path (which includes status information) to an accepted trust anchor.\n\nCheck that the system has a valid DOD root CA installed with the following command:\n\n$ sudo openssl x509 -text -in /etc/sssd/pki/sssd_auth_ca_db.pem\n\nExample output:\n\nCertificate:\n    Data:\n        Version: 3 (0x2)\n        Serial Number: 1 (0x1)\n        Signature Algorithm: sha256WithRSAEncryption\n        Issuer: C = US, O = U.S. Government, OU = DoD, OU = PKI, CN = DoD Root CA 3\n        Validity\n        Not Before: Mar 20 18:46:41 2012 GMT\n        Not After: Dec 30 18:46:41 2029 GMT\n        Subject: C = US, O = U.S. Government, OU = DoD, OU = PKI, CN = DoD Root CA 3\n        Subject Public Key Info:\n            Public Key Algorithm: rsaEncryption\n\nIf the root CA file is not a DOD-issued certificate with a valid date and installed in the \"/etc/sssd/pki/sssd_auth_ca_db.pem\" location, this is a finding.", "fixtext": "Configure Ubuntu 22.04, for PKI-based authentication, to validate certificates by constructing a certification path (which includes status information) to an accepted trust anchor.\n\nObtain a valid copy of the DOD root CA file from the PKI CA certificate bundle from cyber.mil and copy the DoD_PKE_CA_chain.pem into the following file:\n/etc/sssd/pki/sssd_auth_ca_db.pem"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["package[sssd]"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["package_sssd"], "bash_conditional": null, "fixes": {}, "title": "SSSD Has a Correct Trust Anchor", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/sssd/sssd_has_trust_anchor/rule.yml", "template": null}