Usage of permissive file permission ('other')
Overview
Rule ID:
java_lang_file_permission_others
Applicable Languages: Java
Weakness ID: CWE-732
Description
Granting excessively permissive file permissions, particularly to the 'other' category, poses a significant security risk by potentially exposing sensitive information to unauthorized users.
Remediation Guidelines
Ensure file permissions are set as strictly as required. Prioritize assigning permissions to 'groups' rather than 'others' to mitigate the risk of unauthorized access
References
Configuration
To omit this rule during a scan, and to provide you with continuous 24/7 code-level scanning, you can employ our SAST TOOL
PreviousUsage of naive Socket class to create SSL SocketNextUsage of small key size with Blowfish encryption
Last updated