[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Ghostscript 8.64 executes random code at startup
- To: <bugtraq@xxxxxxxxxxxxxxxxx>
- Subject: RE: Ghostscript 8.64 executes random code at startup
- From: "Michael Wojcik" <Michael.Wojcik@xxxxxxxxxxxxxx>
- Date: Mon, 31 May 2010 13:25:43 -0700
> From: paul.szabo@xxxxxxxxxxxxx [mailto:paul.szabo@xxxxxxxxxxxxx]
> Sent: Sunday, 30 May, 2010 06:50
>
> I also see no -P- and no absolute paths for the ps files mentioned in
> many "gs scripts" e.g. /usr/bin/pdf2dsc or /usr/bin/ps2ascii . Also,
> crappy coding for "GS_EXECUTABLE=gs". Am not sure if these are
> "originally gs" or "Debian special".
I believe they're all part of the standard Ghostscript distribution; at
any rate, they're in the Windows Ghostscript distribution I have
installed here.
The Windows scripts (gs*\lib\*.bat) are similarly vulnerable: no use of
-P-, and letting the executable name be overridden by an environment
variable.
--
Michael Wojcik
Principal Software Systems Developer, Micro Focus