From owner-freebsd-security@FreeBSD.ORG Fri Dec 2 12:43:50 2005 Return-Path: X-Original-To: freebsd-security@freebsd.org Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0EA916A422 for ; Fri, 2 Dec 2005 12:43:50 +0000 (GMT) (envelope-from pietro.cerutti@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C36943D55 for ; Fri, 2 Dec 2005 12:43:50 +0000 (GMT) (envelope-from pietro.cerutti@gmail.com) Received: by wproxy.gmail.com with SMTP id i22so58694wra for ; Fri, 02 Dec 2005 04:43:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MpbPzrdaNBSSnOiHmqH3NXDb/ZF7mHiAhZjWDAMBPySGhA/8MoS6Lc338TuyVHVv43TaEo0xVHFYxv/RV3/v5QC3UYxEi/vw0OwAng28s00Rw2jMkleYrfzBpPH/d5O3M+3UYijclwQH7HBlAQV30ESL5Q9/6613GKYgk23ppEY= Received: by 10.64.204.17 with SMTP id b17mr1426831qbg; Fri, 02 Dec 2005 04:43:49 -0800 (PST) Received: by 10.64.150.18 with HTTP; Fri, 2 Dec 2005 04:43:49 -0800 (PST) Message-ID: Date: Fri, 2 Dec 2005 13:43:49 +0100 From: Pietro Cerutti To: freebsd-security@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: acroread security problem X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 12:43:51 -0000 Dear all, I think there's a security problem with the acroread plugin for firefox. I'm using sysutils/pwsafe to manage my passwords. A feature of this tool is that it can copy the requested password to the X clipboard, allowing the user to paste it (eg. in a password box), never seeing the pass in clear. When I load a PDF document in Firefox, the acroread process lives on even after the PDF document is closed: $ pgrep acroread 17260 and reads anything I copy in the X clipboard. So when I use pwsafe to get a password, the pass is sent to the acroread process: $ pwsafe -p gmail Going to copy password to X selection Enter passphrase for /home/piter/.pwsafe.dat: [xxx] You are ready to paste the password for gmail from PRIMARY and CLIPBOARD Press any key when done Sending password for gmail to acroread@gahr via CLIPBOARD and this is done automatically. Note that I dind't touch any key after writing the main password of pwsafe (noted [xxx] in the code above). Can anyone explain this behaviour? Thank you very much, best regards. [list of ports installed] www/firefox: firefox-1.5,1 www/linuxpluginwrapper: linuxpluginwrapper-20050910 print/acroread7: acroread7-7.0.1 -- Pietro Cerutti Beansidhe - SwiSS Death / Thrash Metal Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?"