kde-runtime -- incorrect CBC encryption handling

ID 7A8A74D1-9C34-11E4-A40B-5453ED2E2B49
Type freebsd
Reporter FreeBSD
Modified 2015-01-09T00:00:00


Valentin Rusu reports:

Until KDE Applications 14.12.0, kwalletd incorrectly handled CBC encryption blocks when encrypting secrets in kwl files. The secrets were still encrypted, but the result binary data corresponded to an ECB encrypted block instead of CBC. The ECB encryption algorithm, even if it'll scramble user data, will produce same encrypted byte sequence for the same input text. As a result, attackers may eventually find-out the encrypted text.