NASA CryptoLib
cpe:2.3:a:nasa:cryptolib:*:*:*:*:*:*:*
- <= v1.4.1
A command injection vulnerability has been identified in CryptoLib versions prior to 1.4.2. The issue arises in the 'initialize_kerberos_keytab_file_login()' function, where user-controlled input is directly interpolated into a shell command and executed via 'system()' without any sanitization or validation. This vulnerability allows for arbitrary command execution by manipulating the 'username' or 'keytab_file_path' parameters.
Exploitation of this vulnerability allows for arbitrary command execution on the system where CryptoLib is running.
The vulnerability can be reproduced by calling the 'Crypto_Config_Cam()' function with malicious input that includes command execution payloads in the 'username' or 'keytab_file_path' parameters. This will trigger the vulnerability by executing the injected commands when 'initialize_kerberos_keytab_file_login()' is called.
Users can upgrade to CryptoLib version 1.4.2 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.