[Pkg-opennebula-devel] Bug#657319: opennebula: Insecure permissions on deployed image disks

Olivier Berger olivier.berger at it-sudparis.eu
Wed Jan 25 15:35:44 UTC 2012


Package: opennebula
Version: 2.2.1-1
Severity: normal

AFAICT, on opennebula nodes where VMs are deployed, the image files for the VM disks (at least with a basic KVM VM I've tested) are R/W accessible by all users :

$ ls -l /var/lib/one/4/images/disk.0
-rw-rw-rw- 1 root root 1073741824 25 janv. 16:29 /var/lib/one/4/images/disk.0

I think this should be restricted to users like oneadmin.

Hope this helps.

Best regards,

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages opennebula depends on:
ii  libc6                             2.13-24
ii  libgcc1                           1:4.6.2-11
ii  libmysqlclient16                  5.1.58-1
ii  libpassword-ruby                  0.5.3-3
ii  libsequel-ruby                    3.31.0-1
ii  libsqlite3-0                      3.7.9-2
ii  libssl1.0.0                       1.0.0g-1
ii  libstdc++6                        4.6.2-11
ii  libxml2                           2.7.8.dfsg-5.1
ii  libxmlrpc-c++4                    1.16.33-3.1
ii  libxmlrpc-core-c3                 1.16.33-3.1
ii  opennebula-common                 2.2.1-1
ii  ruby                              4.8
ii  ruby-password [libpassword-ruby]  0.5.3-3
ii  ruby-sequel [libsequel-ruby]      3.31.0-1
ii  ruby1.8 [ruby]                    1.8.7.352-2
ii  rubygems                          1.8.10-1

Versions of packages opennebula recommends:
ii  libmysql-ruby                   2.8.2+gem2deb-1
ii  libsqlite3-ruby                 1.3.5-1
ii  ruby-mysql [libmysql-ruby]      2.8.2+gem2deb-1
ii  ruby-sqlite3 [libsqlite3-ruby]  1.3.5-1

Versions of packages opennebula suggests:
pn  libamazonec2-ruby  <none>
pn  mysql-server       <none>

-- debconf-show failed





More information about the Pkg-opennebula-devel mailing list