SV-279104r1171486_rule
V-279104
SRG-APP-000516-AS-000237
APAS-CF-001015
CAT II
10
Change the Root Administrator username to a unique value that is not a variation of "admin" or "administrator".
1. Locate the neo-security.xml file. The file is typically located in the "lib" folder under the ColdFusion instance directory.
2. Make a backup copy of the file before making any modifications.
3. For ColdFusion running on Windows:
a. Open neo-security.xml in Notepad. Right-click the file and choose "Open With Notepad".
Tip: Enable Word Wrap under the "Format" menu for easier reading.
b. Navigate to Edit >> Find and search for:
'admin.userid.root'>
c. Locate the <string> element that contains the Root Administrator username:
<var name='admin.userid.root'><string>Administrator</string></var>
d. Replace the existing username with a unique name that is not any case variation of "admin" or "administrator".
e. Save the file.
f. Restart ColdFusion for the changes to take effect.
4. For ColdFusion running on Linux:
a. Navigate to the directory containing neo-security.xml.
b. Open the file neo-security.xml in a preferred text editor (e.g., nano, vim).
c. Locate the <var name='admin.userid.root'> tag:
The username appears between the <string> and </string> tags
Example:
<var name='admin.userid.root'><string>Administrator</string></var>
d. Replace the existing username with a unique name that is not any case variation of "admin" or "administrator".
e. Save the file.
f. Restart ColdFusion to apply the changes.
5. Validate that the new username is being used and that the system is operating properly.
6. Once validated, securely delete the backup neo-security.xml file created earlier.
Verify that the ColdFusion Root Administrator username is not set to a default or easily guessable value such as "admin" or "administrator" (in any case variation).
1. Locate the neo-security.xml file. The file is typically located in the "lib" folder under the ColdFusion instance directory.
2. For ColdFusion on Windows:
a. Open neo-security.xml in Notepad. Right-click the file and choose "Open With Notepad".
Tip: Enable Word Wrap under the "Format" menu for easier reading.
b. Navigate to Edit >> Find and search for:
'admin.userid.root'>
c. Locate the <string> element immediately following this tag.
<var name='admin.userid.root'><string>Administrator</string></var>
3. For ColdFusion on Linux:
a. Navigate to the directory containing neo-security.xml.
b. Run the following command to extract the relevant tag:
grep -ohE "'admin.userid.root'><string>[^<]*</string>" neo-security.xml
c. Note the username displayed between <string> and </string>.
If the Root Administrator username is any uppercase or lowercase variation of "admin" or "administrator" (Examples: admin, Admin, ADmIN, admInistrAtor, Administrator, ADMINISTRATOR), this is a finding.
V-279104
False
APAS-CF-001015
Verify that the ColdFusion Root Administrator username is not set to a default or easily guessable value such as "admin" or "administrator" (in any case variation).
1. Locate the neo-security.xml file. The file is typically located in the "lib" folder under the ColdFusion instance directory.
2. For ColdFusion on Windows:
a. Open neo-security.xml in Notepad. Right-click the file and choose "Open With Notepad".
Tip: Enable Word Wrap under the "Format" menu for easier reading.
b. Navigate to Edit >> Find and search for:
'admin.userid.root'>
c. Locate the <string> element immediately following this tag.
<var name='admin.userid.root'><string>Administrator</string></var>
3. For ColdFusion on Linux:
a. Navigate to the directory containing neo-security.xml.
b. Run the following command to extract the relevant tag:
grep -ohE "'admin.userid.root'><string>[^<]*</string>" neo-security.xml
c. Note the username displayed between <string> and </string>.
If the Root Administrator username is any uppercase or lowercase variation of "admin" or "administrator" (Examples: admin, Admin, ADmIN, admInistrAtor, Administrator, ADMINISTRATOR), this is a finding.
M
5724