[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201005281342.o4SDgYsT027497@bari.maths.usyd.edu.au>
Date: Fri, 28 May 2010 23:42:34 +1000
From: paul.szabo@...ney.edu.au
To: bugtraq@...urityfocus.com
Subject: Re: Ghostscript 8.64 executes random code at startup
I guess this issue can be exploited remotely.
If /etc/mailcap uses gs, then we are done: neither -P- nor -dSAFER are
defaults.
My Debian /etc/mailcap uses gv, and gv knows to use -dSAFER. First
"feed" the victim a "bad" PS file named gs_res.ps or pdf_base.ps or
similar. No harm done yet. Then "feed" the victim any PS or PDF file:
quite likely the old file will have its original name, still in place,
in the same place as the new file: gv does not use -P- and our first
file will be used.
Would it help if I (or someone with actual knowledge) would put together
a proof-of-concept demo?
Cheers, Paul
Paul Szabo psz@...hs.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics University of Sydney Australia
Powered by blists - more mailing lists