Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678546 (CVE-2013-7469) - <net-misc/seafile-6.2.11: plaintext recovery via chosen-ciphertext attack (CVE-2013-7469)
Summary: <net-misc/seafile-6.2.11: plaintext recovery via chosen-ciphertext attack (CV...
Status: RESOLVED FIXED
Alias: CVE-2013-7469
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: ~3 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-22 07:39 UTC by Agostino Sarubbo
Modified: 2020-04-26 04:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2019-02-22 07:39:53 UTC
From ${URL} :

Seafile through 6.2.11 always uses the same Initialization Vector (IV) with Cipher Block Chaining (CBC) Mode to encrypt private data, making 
it easier to conduct chosen-plaintext attacks or dictionary attacks

References:
https://drive.google.com/file/d/1rwYsnuhZZxmSR6Zs8rJlWW3R27XBOSJU/view
https://github.com/haiwen/seafile/issues/350


@maintainer(s): since the package or the affected version has never been marked as stable, we don't need to stabilize it. After the bump, please remove the affected versions from the tree.
Comment 1 Moritz Schlarb 2019-03-08 09:59:27 UTC
After reading through the code thoroughly, I want to add the clarification, that the summary of the CVE is not really correct:

Every encrypted library uses the same salt. (That will be fixed by upstream).

For each encrypted library, PBKDF2 is used to generate the encryption key and IV from the user-supplied password for that library (and the salt).

That concludes that two libraries only have the same IV, if users used the same password for them.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-25 01:46:26 UTC
@maintainer(s), please cleanup!