JBOS-AS-000545 - Production JBoss servers must not allow automatic application deployment.

Information

When dealing with access restrictions pertaining to change control, it should be noted that any changes to the software and/or application server configuration can potentially have significant effects on the overall security of the system.

Access restrictions for changes also include application software libraries.

If the application server provides automatic code deployment capability, (where updates to applications hosted on the application server are automatically performed, usually by the developers' IDE tool), it must also provide a capability to restrict the use of automatic application deployment. Automatic code deployments are allowable in a development environment, but not in production.

Solution

Determine the JBoss server configuration as being either standalone or domain.

Launch the relevant jboss-cli management interface substituting standalone or domain for <CONFIG>

<JBOSS_HOME>/<CONFIG>/bin/jboss-cli

connect to the server and run the command:

/subsystem=deployment-scanner/scanner=default:write-attribute(name=scan-enabled,value=false)

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_JBoss_EAP_6-3_V2R5_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(1), CAT|II, CCI|CCI-001813, Rule-ID|SV-213542r961461_rule, STIG-ID|JBOS-AS-000545, STIG-Legacy|SV-76801, STIG-Legacy|V-62311, Vuln-ID|V-213542

Plugin: Unix

Control ID: 5d033e75a8e598e8b0287c256d1aa0ae5746f7f0d653e0af817ae87a6b91feb5