#747428 [xbmc] passwords are stored in plain xml file

Package:
kodi
Source:
kodi
Description:
Open Source Home Theatre (executable binaries)
Submitter:
Adrien Grellier
Date:
2015-08-19 22:16:03 UTC
Severity:
important
#747428#5
Date:
2014-05-08 14:41:28 UTC
From:
To:
Hi,

I just add a webdav source in xbmc, so it asks for a username and password. But these informations are then stored in a plain XML file: ~/.xbmc/userdata/sources.xml, moreover a world readable file:

adrien ~/ $ ls -l .xbmc/userdata/sources.xml
-rw-r--r-- 1 adrien adrien 1006 mai    8 16:34 .xbmc/userdata/sources.xml


This file should be at least chmod 700 and the users should be informed that the password will be stored in a unsafe manner.

Regards,

Adrien
Debian Release: jessie/sid
  900 testing         security.debian.org
  900 testing         ftp.fr.debian.org
  800 unstable        ftp.fr.debian.org
  700 experimental    ftp.fr.debian.org
--- Package information. ---
Depends                            (Version) | Installed
============================================-+-=======================
xbmc-bin                 (>= 2:13.0+dfsg1-1) | 2:13.0+dfsg1-1
xbmc-bin              (<< 2:13.0+dfsg1-1.1~) | 2:13.0+dfsg1-1
mesa-utils                                   | 8.1.0-2+b1
x11-utils                                    | 7.7+1
fonts-dejavu-core                            | 2.34-1
 OR ttf-dejavu-core                          | 2.34-1
fonts-roboto                                 | 1:4.3-3
libjs-jquery                                 | 1.7.2+dfsg-3
libjs-iscroll                                | 5.1.1+dfsg1-1
python-imaging                               | 2.3.0-2
python:any                     (>= 2.7.5-5~) |


Package's Recommends field is empty.

Package's Suggests field is empty.

#747428#14
Date:
2014-05-19 17:41:04 UTC
From:
To:
2014-05-08 16:41 GMT+02:00 Adrien Grellier <perso@adrieng.fr>:
#747428#23
Date:
2014-05-20 19:43:35 UTC
From:
To:
Hi,

CVE-2014-3800 was assigned now for the issue that mode 0644 is used
for the file containing the password, see [1].

 [1] http://www.openwall.com/lists/oss-security/2014/05/20/5

Regards,
Salvatore