TMAegisБета
Другие правила для websphere

IBM WebSphere

TMA-WEBSPHERE-6.3

Ensure CallbackHandler is used to access private keys in keystore files

СреднийУровень 1Ручная проверкаwebsphere

Описание

Use CallbackHandler to retrieve user password and for accessing private keys in keystore files. Using the CallbackHandler method to retrieve a user's password and access private keys in keystore files ___ (state benefit). Do not use plain text passwords in user and keystore fields for WebServices security. The benchmark marks this recommendation Manual; TMAegis reports it as a manual review item with the audit steps.

Как проверяется

Метод проверки: Ручная проверка

Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-manual.

Ensure that the org.apache.ws.security.crypto.merlin.keystore.private.password attribute is not specified in the encryptionProperties and signatureProperties element in Web Services Security client and provider configurations. grep -w -R -i 'org.apache.ws.security.crypto.merlin.keystore.private.password' ${server.config.dir} Ensure that the ws-security.password attribute is not specified in the Web Services Security client and provider configurations. grep -w -R -i 'ws-security.password' ${server.config.dir}

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

Ensure that the passwords are not configured in the wsSecurityClient and wsSecurityProvider elements in ${server.config.dir}/configDropins/overrides/<any file name>.xml. For more information, see the References section. "Implement the callbackhandler method. For more information, see the References section." <wsSecurityClient id="default" ws-security.callback- handler="com.myCompany.myExample.myCBH" ...> ... </wsSecurityClient> <wsSecurityProvider id="default" ws-security.callback- handler="com.myCompany.myExample.myCBH" ...> ... </wsSecurityProvider>

Свойства

Операционные системы
Любая
Теги
webspheremanual-review
Источник
CIS IBM WebSphere Liberty Benchmark v1.0.0 - 6.3 Ensure CallbackHandler is used to access private keys in keystore files