{"description": "All directories in local partitions which are\nworld-writable should be group owned by root or another\nsystem account. If any world-writable directories are not\ngroup owned by a system account, this should be investigated.\nFollowing this, the files should be deleted or assigned to an\nappropriate group.", "rationale": "Allowing a user account to group own a world-writable directory is\nundesirable because it allows the owner of that directory to remove\nor replace any files that may be placed in the directory by other\nusers.", "severity": "medium", "references": {"cis-csc": ["12", "13", "14", "15", "16", "18", "3", "5"], "cobit5": ["APO01.06", "DSS05.04", "DSS05.07", "DSS06.02"], "isa-62443-2009": ["4.3.3.7.3"], "isa-62443-2013": ["SR 2.1", "SR 5.2"], "iso27001-2013": ["A.10.1.1", "A.11.1.4", "A.11.1.5", "A.11.2.1", "A.13.1.1", "A.13.1.3", "A.13.2.1", "A.13.2.3", "A.13.2.4", "A.14.1.2", "A.14.1.3", "A.6.1.2", "A.7.1.1", "A.7.1.2", "A.7.3.1", "A.8.2.2", "A.8.2.3", "A.9.1.1", "A.9.1.2", "A.9.2.3", "A.9.4.1", "A.9.4.4", "A.9.4.5"], "nist": ["CM-6(a)", "AC-6(1)"], "nist-csf": ["PR.AC-4", "PR.DS-5"], "srg": ["SRG-OS-000480-GPOS-00227"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "there is output", "ocil": "The following command will discover and print world-writable directories that\nare not group owned by a system account, given the assumption that only system\naccounts have a gid lower than 1000.  Run it once for each local partition <i>PART</i>:\n<pre>$ sudo find <i>PART</i> -xdev -type d -perm -0002 -gid +999 -print</pre>", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Ensure All World-Writable Directories Are Group Owned by a System Account", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/dir_perms_world_writable_system_owned_group/rule.yml", "template": null}