|
|
SA#10: Pass phrases are exposed in netHSM log filesPass phrases entered by means of the nCipher netHSM front panel, either using the built in thumbwheel or using a directly attached keyboard, are exposed in the netHSM system log. Under certain circumstances this information is also available to the remote filesystem machine. This issue is fixed in the latest netHSM firmware release. This advisory also available as PGP-signed plaintext. June 2004SummaryPass phrases entered by means of the nCipher netHSM front panel, either using the built in thumbwheel or using a directly attached keyboard, are exposed in the netHSM system log. Under certain circumstances this information is also available to the remote filesystem machine. This issue is fixed in the latest netHSM firmware release. Issue Description1. ProblemThe netHSM front-panel software, which accepts pass phrases by means of the netHSM front panel user interface, does not hide pass phrases in its debugging output. This debugging output was enabled in the shipped version of the netHSM front-panel software. On the netHSM these diagnostics are sent to the system log. The system log is always viewable on the netHSM front panel, and may also be appended to the remote filesystem log if this has been configured. Any smart card pass phrase input by means of the netHSM front panel *will* therefore be written to the netHSM system log, and *may* also be appended to the remote filesystem log. 2. ImpactAnyone who is able to read a netHSM's log is able to determine all pass phrases that have been entered by means of the netHSM front panel. A person with unauthorised access to an Administrator or Operator Card from a netHSM's Security World may therefore be able to use the card even though it is protected by a pass phrase. 2.1 Mitigating FactorsHaving access to a pass phrase alone is not sufficient to mount a successful attack on a netHSM. nCipher's Security World architecture ensures that an attacker requires access to a number of separate physical entities, in addition to secrets such as pass phrases, before system compromise is possible. An attacker requires physical access to a quorum of the Operator or Administrator Cards (for which they have deduced pass phrases), access to the host data (the `kmdata' directories), and also access to the netHSM (to insert smart cards and type pass phrases) before system compromise is possible. The default netHSM configuration does not append to the remote filesystem log, and from revision 2.1 of the netHSM the front panel can be locked when not in use. 3. Who Is NOT AffectedAdministrator and Operator Cards that have never been presented to a netHSM are unaffected. Cards that have been presented remotely, where the netHSM has been used as an imported module, are not affected. Cards where the pass phase has never been entered by means of the netHSM front panel are not affected. 4. Who May Be AffectedAny Administrator or Operator Card that has been presented to a netHSM will, if its pass phrase was entered by means of the front panel, have had that pass phrase written to a log. Anyone with access to the netHSM front panel can read all pass phrases that have been entered by means of the front panel since the netHSM was last booted. If your netHSM is also configured to append its log to the remote filesystem machine's log then anyone with read access to that file on the remote filesystem machine, or backup copies of that file, will be able to read any pass phrase that was entered by means of the front panel. 5. How To Tell If You Are AffectedIf you have the remote filesystem logs for each netHSM, it is possible to see whether any pass phrases have been written to these logs. To check whether a netHSM is configured to append the system log to the remote filesystem log, check the following menu on the netHSM front panel:
If set to "Append", the netHSM will append to the remote filesystem log. If set to "Log", the netHSM will only write to its internal volatile system log. Examination of the log of an affected netHSM will reveal debug like the following:
after an operation that requires entering of a pass phrase. If you see the Note that the system log viewed on the netHSM front panel only contains those messages logged since the netHSM was last booted. Remedy1. Recommended course of actionAll customers should upgrade their netHSMs to the latest firmware version immediately. This firmware will upgrade users of netHSM release 2 and netHSM release 2.1 to an updated release 2.1 image that will *not* be downgradable to a previous version. The updated firmware no longer writes pass phrases to any log. If you are currently using release 2 and are unsure whether release 2.1 is suitable for your needs then please contact nCipher Support. If you would like to test the compatibility of the release 2.1 firmware in your environment, while retaining the ability to revert to release 2, nCipher recommends you test with the original release 2.1 firmware first. Once you have upgraded your netHSM firmware image, nCipher also recommends that you change all pass phrases on affected cards. If you do not do this, nCipher recommends you securely erase all copies of netHSM log files that might be available on your remote filesystem (and its backups, if available). 2. Work-aroundThere is currently no way of completely turning off logging from the netHSM front-panel. nCipher suggest you disable the 'Append to remote filesystem log' option from the netHSM front panel. To do this, select the following screen:
and set the option to 'Log' rather than 'Append'. This will stop the pass phrases appearing in the log on the remote filesystem. The only way to clear the netHSM's log is to reboot the netHSM. nCipher therefore recommends that, until you have installed a fixed netHSM firmware version, you reboot after any operation requiring pass phrase entry by means of the front panel. Unless your netHSM's client systems are exceptionally secure, nCipher still recommends using the front panel for smart card operations, even if they require pass phrase entry. The security advantages of using the front-panel (which includes disabling the network during Administrator Card operations) are considered to outweigh the impact of this bug. As outlined above, however, nCipher recommends rebooting your netHSM after each operation requiring pass phrase entry by means of the front panel. 3. Upgrade instructionsThe firmware release contains two files: this advisory, and the netHSM firmware image, with the following file name:
To upgrade you should copy the contents of the 'nethsm-firmware' directory in the firmware release into your remote filesystem's 'nethsm-firmware' directory, to recreate the directory structure above. Then, from the front panel of the netHSM, select the following screen:
and follow the prompts, selecting 2.1.12cam5 as the version to use. If that version is not listed, check that the firmware file was successfully copied to your remote filesystem. See Appendix A in the netHSM/payShield net Administrator Guide ('Upgrading the internal software'), for more details on the firmware upgrade procedure. Software Distribution and ReferencesYou can obtain copies of this advisory, and supporting documentation, from the nCipher updates site: http://www.ncipher.com/support/advisories/ Due to export control regulations, nCipher is unable to make software updates available on this web site. Please contact nCipher Support to be informed when updated software is available, and to obtain updated software. nCipher SupportnCipher customers who require updated software, support or further information regarding this problem should contact support@ncipher.com. nCipher Support can also be reached by telephone: Customers in the USA or Canada: Further InformationGeneral information about nCipher products: nCipher Developer's Guide and nCipher Developer's Reference http://www.ncipher.com/documentation.html If you would like to receive future security advisories from nCipher, please subscribe to the low volume nCipher security-announce mailing list. To do this, send a mail with the single word `subscribe' in the message body to: security-announce-request@ncipher.com © nCipher Corporation Ltd. 2004 All trademarks acknowledged. nCipher and payShield are trade marks of nCipher Corporation Limited. Id: advisory-pp-in-nhlogfile.txt,v 1.20 2004/06/04 10:24:10 james Exp |
nCipher protects critical enterprise data for many of the world's most security-conscious organizations
by being an industry leader in cryptography and data security, data encryption, enterprise pki,
digital signature software, timestamp, and other data protection solutions.