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_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 7fddb9e46467da739d32f0e883311f878e6684c2a41ab6b7e8cbaa4337b9d235