Check: APSC-DV-002960
Application Security and Development STIG:
APSC-DV-002960
(in versions v5 r3 through v4 r2)
Title
The designer must ensure the application does not store configuration and control files in the same directory as user data. (Cat II impact)
Discussion
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 Content
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 Text
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.
Additional Identifiers
Rule ID: SV-222626r879887_rule
Vulnerability ID: V-222626
Group Title: SRG-APP-000516
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000345 |
The organization enforces logical access restrictions associated with changes to the information system. |
CCI-000366 |
The organization implements the security configuration settings. |