Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 1 May 2017 18:54:44 +0200
From: Jakub Wilk <jwilk@...lk.net>
To: oss-security@...ts.openwall.com
Subject: RuboCop: insecure use of /tmp

RuboCop stores cache files in /tmp/$UID/rubocop_cache/.
There are no ownership checks, so a malicious local users could exploit this to 
tamper with cache files belonging to other users.

Upstream bug report:
https://github.com/bbatsov/rubocop/issues/4336

I've attached PoC exploit.

-- 
Jakub Wilk

View attachment "rubocop-cache-exploit" of type "text/plain" (727 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.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.