Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 09 Sep 2014 00:21:13 -0600
From: Kurt Seifried <>
To: "" <>,
        Assign a CVE Identifier <>
Subject: pinocchio tmp vuln

pinocchio	stopwatch	--with-stopwatch	Select tests based on execution time


    def finalize(self, result):
        Save the recorded times, OR dump them into /tmp if the file
        open fails.
            fp = open(self.stopwatch_file, 'w')
        except (IOError, OSError):
            t = int(time.time())
            filename = '/tmp/nose-stopwatch-%s.pickle' % (t,)

int(time.time) is easily guessed, create a few thousand and you're
covered for the next few hours and can stop anyone from using stopwatch,
or you can just blow away files as usual =).

            fp = open(filename, 'w')
            log.warning('WARNING: stopwatch cannot write to "%s"' %
            log.warning('WARNING: stopwatch is using "%s" to save times'
% (filename,))

        dump(self.times, fp)

Kurt Seifried -- Red Hat -- Product Security -- Cloud
PGP A90B F995 7350 148F 66BF 7554 160D 4553 5E26 7993

Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Powered by Openwall GNU/*/Linux - Powered by OpenVZ