/mandos/release

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

« back to all changes in this revision

Viewing changes to mandos-monitor.xml

  • Committer: Teddy Hogeborn
  • Date: 2014-06-08 03:10:08 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 317.
  • 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:
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY COMMANDNAME "mandos-monitor">
5
 
<!ENTITY TIMESTAMP "2016-03-05">
 
5
<!ENTITY TIMESTAMP "2012-01-01">
6
6
<!ENTITY % common SYSTEM "common.ent">
7
7
%common;
8
8
]>
34
34
      <year>2010</year>
35
35
      <year>2011</year>
36
36
      <year>2012</year>
37
 
      <year>2013</year>
38
 
      <year>2014</year>
39
 
      <year>2015</year>
40
 
      <year>2016</year>
41
37
      <holder>Teddy Hogeborn</holder>
42
38
      <holder>Björn Påhlsson</holder>
43
39
    </copyright>
133
129
        <entry>Toggle log window line wrap</entry>
134
130
      </row>
135
131
      <row>
136
 
        <entry>v</entry>
137
 
        <entry>Toggle verbose logging</entry>
138
 
      </row>
139
 
      <row>
140
132
        <entry>Up, Ctrl-P, k</entry>
141
133
        <entry>Move up a line</entry>
142
134
      </row>
199
191
    <title>BUGS</title>
200
192
    <para>
201
193
      This program can currently only be used to monitor and control a
202
 
      Mandos server with the default D-Bus bus name of
203
 
      <quote>se.recompile.Mandos</quote>.
 
194
      Mandos server with the default D-Bus service name of
 
195
      <quote>Mandos</quote>.
204
196
    </para>
205
 
    <xi:include href="bugs.xml"/>
206
197
  </refsect1>
207
198
  
208
199
  <refsect1 id="example">