Decrypted password displayed in report when using PCK.AUTOMIC_NEXUS

Document ID : KB000084704
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

When using the action package, PCK.AUTOMIC_NEXUS.PUB.ACTION.RETRIEVE_ARTIFACT with a Userid that uses a default shell of CSH, the unencrypted password is displayed in the report.
 
UC4_DECRYPTED_PWD=`java -jar "/local/0/opt/automic_test/agents/linux/resources/0200/itpa-tool.jar" ARB -cmd cipher decrypt "--102421A2B92E30AA4A" | grep "^Decrypted: " | sed 's/^Decrypted: //'` 
java -jar "/local/0/opt/automic_test/agents/linux/resources/0200/itpa-tool.jar" ARB -cmd cipher decrypt "--102421A2B92E30AA4A" | grep "^Decrypted: " | sed 's/^Decrypted: //' 
++ java -jar /local/0/opt/automic_test/agents/linux/resources/0200/itpa-tool.jar ARB -cmd cipher decrypt --102421A2B92E30AA4A 
++ grep '^Decrypted: ' 
++ sed 's/^Decrypted: //' 
+ UC4_DECRYPTED_PWD=123456789
Environment:
OS: Unix
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: The Unix agent turns on debug mode by default when a user uses the csh shell.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Component(s): Unix agent

Automation.Engine 12.1.1 - Available
Automation Engine 12.0.4 - Available
Additional Information:
Workaround :
  1. Use a different shell, such as the Bash shell
OR
  1. Create a UNIX.HEADER with a  value of:
:PUT_ATT UNIX_SHELL_OPTIONS = '+xv'