79938 2002-10-03  17:27  /51 rader/ Daniel Ahlberg <aliz@gentoo.org>
Importerad: 2002-10-03  17:27  av Brevbäraren
Extern mottagare: bugtraq@securityfocus.com
Mottagare: Bugtraq (import) <1760>
Ärende: GLSA: gv
------------------------------------------------------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------
GENTOO LINUX SECURITY ANNOUNCEMENT
- - --------------------------------------------------------------------

PACKAGE        :gv
SUMMARY        :Execution of Arbitrary Shell Commands
DATE           :2002-10-03 10:00 UTC

- - --------------------------------------------------------------------

OVERVIEW

GV can be tricked into executing arbitary shell commands.

DETAIL

When GV detects that the document is either a PDF file or a  GZip
compressed file, it executes some commands with the help  of the
system() function. Unfortunately, these commands contain the
filename, which can be considered as untrusted user input. It is then
possible to distribute a file (with a meticulously choosed filename,
that can even seems innocent) that causes execution of arbitrary
shell commands when it is read with GV.

Read the original advisory at
http://www.epita.fr/~bevand_m/asa/asa-0000

SOLUTION

It is recommended that all Gentoo Linux users who are running
app-text/gv-3.58-r1 and earlier update their systems
as follows:

emerge rsync
emerge gv
emerge clean

- - --------------------------------------------------------------------
aliz@gentoo.org - GnuPG key is available at www.gentoo.org/~aliz
- - --------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9nBYTfT7nyhUpoZMRAs5iAKCQDEFd64NlXMqKZ7zs5BYCdbjQLACdFCV9
ANLj7Y54vnJdkfPxzuNmfuE=
=0AGQ
-----END PGP SIGNATURE-----
(79938) /Daniel Ahlberg <aliz@gentoo.org>/(Ombruten)
80312 2002-10-07  23:45  /19 rader/  <juergen.daubert@t-online.de>
Importerad: 2002-10-07  23:45  av Brevbäraren
Extern mottagare: bugtraq@securityfocus.com
Mottagare: Bugtraq (import) <1826>
Ärende: Re: iDEFENSE Security Advisory 09.26.2002: Exploitable Buffer Overflow in gv
------------------------------------------------------------
In-Reply-To: <200209261744.g8QHiu4D031425@bilbo.localnet>

>
>Does not work for me:
>
>boris@reston-0491:~/convert$ gv -v
>gv 3.5.8 (debian)
>boris@reston-0491:~/convert$ gv gv-exploit.pdf 
>Segmentation fault
>boris@reston-0491:~/convert$ ls -al /tmp/itworked
>ls: /tmp/itworked: No such file or directory

Sure, it works for the debian version of gv, but 
only, if you load the exploit from whithin the gui 
and not from the commandline.

regards
Jürgen
(80312) / <juergen.daubert@t-online.de>/------------