Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Dec 2012 22:50:33 -0800
From: Matthew Brush <mbrush@...ebrainz.ca>
To: Eitan Adler <lists@...anadler.com>
CC: oss-security@...ts.openwall.com, 
 "Steven M. Christey" <coley@...us.mitre.org>,
 Nick Treleaven <nick.treleaven@...nternet.com>, 
 Colomban Wendling <lists.ban@...besfolles.org>,
 Enrico Troeger <enrico.troeger@...na.de>, 
 Frank Lanitz <frank@...nk.uvena.de>,
 josef@...icpanda.com, jonathan.underwood@...il.com
Subject: Re: Geany IDE not escaping filenames during compilation
 / build - a security issue or not?

On 12-12-12 09:54 PM, Eitan Adler wrote:
> On 12 December 2012 11:51, Jan Lieskovsky <jlieskov@...hat.com> wrote:
>> The questions:
>> 1) should Geany escape the filenames?,
>
> Up to the maintainers.
>
>> 2) is this a security issue or not?
>
> Unlikely.  Is there a way a malicious document could cause code
> execution without user action?
>

If I understand correctly, if someone messed with the user's 
configuration directory where the "geany.conf" file is stored, and they 
modified the "recent files" stored in there that Geany opens 
automatically on next startup, then assuming that it doesn't choke on 
the weird filename and that the user didn't notice the weird filename in 
several places in the GUI, they could technically blindly activate a 
build command, causing the malicious filename/command to run.

I have no idea how much of a risk it actually is (relative to someone 
already having hacked your machine/$HOME files), but I'm personally not 
opposed to going to reasonable lengths to ensure our code/program is secure.

Cheers,
Matthew Brush

Powered by blists - more mailing lists

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.