The designer must ensure the application does not store configuration and control files in the same directory as user data.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-222626SRG-APP-000516APSC-DV-002960SV-222626r961863_rule2025-02-126
Description
Application configuration settings and user data are required to be stored in separate locations in order to prevent application users from possibly being able to access application configuration settings or application data files. Without proper access controls and separation of application configuration settings from user data, there is the potential that existing code or configuration settings could be changed by users. These changes in code can lead to a Denial of Service (DoS) attack or allow malicious code to be placed within the application. In addition, collocating application data and code complicates many issues such as backup, recovery, directory access privilege, and upgrades.
ℹ️ Check
Review the application documentation and interview the application administrator. Ask the application administrator or examine the application documentation to determine the file location of the application configuration settings and user data. Identify the directory where the application code, configuration settings and other application control data are located. Identify where user data is stored. Examine file permissions to application folder. If the application user data is located in the same directory as the application configuration settings or control files, or if the file permissions allow application users write access to application configuration settings, this is a finding.
✔️ Fix
Separate the application user data into a different directory than the application code and user file permissions to restrict user access to application configuration settings.