RE: Ghostscript 8.64 executes random code at startup

看板Bugtraq作者時間15年前 (2010/06/02 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
> From: paul.szabo@sydney.edu.au [mailto:paul.szabo@sydney.edu.au] > Sent: Sunday, 30 May, 2010 06:50 >=20 > 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=3Dgs". 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. --=20 Michael Wojcik Principal Software Systems Developer, Micro Focus
文章代碼(AID): #1C1KhVTs (Bugtraq)