Bug 1180502 - kwallet: incorrect kwalletd CBC encryption handling
Summary: kwallet: incorrect kwalletd CBC encryption handling
Keywords:
Status: CLOSED DUPLICATE of bug 1048168
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1048169 1180503
Blocks: 1180504
TreeView+ depends on / blocked
 
Reported: 2015-01-09 10:15 UTC by Vasyl Kaigorodov
Modified: 2021-02-17 05:50 UTC (History)
6 users (show)

Fixed In Version: KDE Applications 14.12.1, KDE Frameworks 5.6.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-09 10:39:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Vasyl Kaigorodov 2015-01-09 10:15:36 UTC
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, it'll produce same encrypted byte sequence for the same input text. As a result, attackers may eventually find-out the encrypted text.

Upstream patches: 
- kde-runtime KWallet:
  http://quickgit.kde.org/?p=kde-runtime.git&a=commit&h=14a8232d0b5b1bc5e0ad922292c6b5a1c501165c
- KDE Frameworks 5 KWallet:
  http://quickgit.kde.org/?p=kwallet.git&a=commit&h=6e588d795e6631c3c9d84d85fd3884a159b45849

External References:

https://www.kde.org/info/security/advisory-20150109-1.txt

Comment 1 Vasyl Kaigorodov 2015-01-09 10:15:52 UTC
Created kwallet tracking bugs for this issue:

Affects: fedora-all [bug 1180503]

Comment 2 Vasyl Kaigorodov 2015-01-09 10:39:27 UTC

*** This bug has been marked as a duplicate of bug 1048168 ***


Note You need to log in before you can comment on or make changes to this bug.