{"description": "It is generally a good idea to remove global (other) write access to a file when it is\ndiscovered. However, check with documentation for specific applications before making changes.\nAlso, monitor for recurring world-writable files, as these may be symptoms of a misconfigured\napplication or user account. Finally, this applies to real files and not virtual files that\nare a part of pseudo file systems such as <tt>sysfs</tt> or <tt>procfs</tt>.", "rationale": "Data in world-writable files can be modified by any user on the system. In almost all\ncircumstances, files can be configured using a combination of user and group permissions to\nsupport whatever legitimate access is needed without the risk caused by world-writable files.", "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"], "nerc-cip": ["CIP-003-8 R5.1.1", "CIP-003-8 R5.3", "CIP-004-6 R2.3", "CIP-007-3 R2.1", "CIP-007-3 R2.2", "CIP-007-3 R2.3", "CIP-007-3 R5.1", "CIP-007-3 R5.1.1", "CIP-007-3 R5.1.2"], "nist": ["CM-6(a)", "AC-6(1)"], "nist-csf": ["PR.AC-4", "PR.DS-5"], "anssi": ["R54"], "cis": ["7.1.11"], "ism": ["1409"], "pcidss4": ["2.2.6", "2.2"]}, "control_references": {"anssi": ["R54"], "cis": ["7.1.11"], "ism": ["1409"], "pcidss4": ["2.2.6", "2.2"]}, "components": [], "identifiers": {}, "ocil_clause": "there is output", "ocil": "To find world-writable files, run the following command:\n<pre>$ sudo find / -xdev -type f -perm -002</pre>", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [{"general": "This rule can take a long time to perform the check and might consume a considerable\namount of resources depending on the number of files present on the system. It is not a\nproblem in most cases, but especially systems with a large number of files can be affected.\nSee <code>https://access.redhat.com/articles/6999111</code>."}], "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 No World-Writable Files Exist", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/file_permissions_unauthorized_world_writable/rule.yml", "template": null}