Description
Armatura One stores database and message-broker credentials in an install configuration file, encrypting them with AES-128-CBC when this protection is enabled. The encryption key and initialization vector are fixed values embedded in the software itself and are identical across every installation. An attacker with a copy of the installation package can recover this key and initialization vector, and can then decrypt the stored credentials of any specific installation to which the attacker separately obtains the encrypted configuration file.
Vulnerability type
CWE-321
Use of Hard-coded Cryptographic Key
The product uses a hard-coded, unchangeable cryptographic key.
Impact on systems
| Scope | Impact |
| Access Control |
Bypass Protection Mechanism, Gain Privileges or Assume Identity, Read Application Data If hard-coded cryptographic keys are used, it is almost certain that malicious users will gain access through the account in question. The use of a hard-coded cryptographic key significantly increases the possibility that encrypted data may be recovered. |
How to prevent it
Architecture and Design
Prevention schemes mirror that of hard-coded password storage.
All 319 CWE-321 CVEs, with trend and prevention