/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Teddy Hogeborn
  • Date: 2014-06-08 03:10:08 UTC
  • Revision ID: teddy@recompile.se-20140608031008-mc9bd7b024a3q0y0
Address a very theoretical possible security issue in mandos-client.

If there were to run some sort of "cleaner" process for /run/tmp (or
/tmp), and mandos-client were to run for long enough for that cleaner
process to remove the temporary directory for GPGME, there was a
possibility that another unprivileged process could trick the (also
unprivileged) mandos-client process to remove other files or symlinks
which the unprivileged mandos-client process was allowed to remove.
This is not currently known to have been exploitable, since there are
no known initramfs environments running such cleaner processes.

* plugins.d/mandos-client.c (main): Use O_NOFOLLOW when opening
                                    tempdir for cleaning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
* plugin-runner
45
45
** TODO handle printing for errors for plugins
46
46
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
 
47
** TODO [#B] use scandirat(3) instead of readdir(3)
 
48
*** Must wait until GNU libc 2.15
47
49
** TODO [#C] use same file name rules as run-parts(8)
48
50
** kernel command line option for debug info
49
51
 
81
83
   http://standards.freedesktop.org/secret-service/
82
84
** TODO Remove D-Bus interfaces with old domain name                      :2:
83
85
** TODO Remove old string_to_delta format                                 :2:
84
 
** TODO http://0pointer.de/blog/projects/stateless.html
85
 
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
86
 
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
87
 
** TODO Error handling on error parsing config files
88
 
** TODO init.d script error handling
 
86
** TODO --no-zeroconf (only valid if port or socket is set)
89
87
 
90
88
* mandos.xml
91
89
** Add mandos contact info in manual pages
106
104
*** Properties popup
107
105
** Print a nice "We are sorry" message, save stack trace to log.
108
106
** Rename module "gobject" to "GObject".
109
 
** TODO Optional verbose mode to see checkers starting and succeeding
110
107
 
111
108
* mandos-keygen
112
109
** TODO "--secfile" option