🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #92

Re: spam pdf, safe way to look at it? which Debian testing tool to use?

#92
From: tomas
Date: Sun, 11 Oct 2026 11:50
67 lines
4486 bytes
--2O6vEAo6UlsM2iij
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 11, 2026 at 12:19:58PM +0100, Peter Hillier-Brook wrote:
> On 11/10/2026 07:09, tomas@tuxteam.de wrote:
> > On Sun, Oct 11, 2026 at 12:45:14AM +0100, Peter Hillier-Brook wrote:
> > > On 10/10/2026 21:49, songbird wrote:
> > > >     thanks to those who have replied, i'm just back to
> > > > this project to see if i can make any headway easily
> > > > enough or if i should just delete the message and get
> > > > on with life.  :)
> > > >=20
> > > >=20
> > > >     songbird
> > > >=20
> > > Coming late to the party: I generally save the PDF and then open it w=
ith a
> > > text editor. It's not the easiest to work with, but it's safe.
> >=20
> > I don't think so, no more than a PDF viewer (heck, even pdftotext links=
 to
> > libpoppler, so I guess everything these days is as (un)safe as libpoppl=
er
> > is).
> >=20
> > Something has to convert the PDF structure (i.e. "interpret" it) for yo=
ur
> > text editor to understand it. On top, you add your editor's vulnerabili=
ties.
>=20
> I think we are at cross purposes. I don't want to open (interpret) the pd=
f:
> I just want to see what it contains for the sake of interest.

Open for viewing was *exactly* what I meant by "interpreting". Something has
to traverse the data structure of the pdf (one big top-level interpreter th=
ere),
render the fonts (yet another complex sub-interpreter in there, or three),
uncompress the images (more of that), yadda, yadda. Otherwise it won't be a=
ble
to "paint" the PDF for you to see it.

It's enough that one of those has a security vulnerability.

So if you have reasons to suspect that the PDF is under control of some
malicious actor, it's not a bad idea to render it under limited privileges
(some unprivileged user, a container, a VM, an airgapped hardware, in rough
ascending order of tightness).

Cheers
--=20
t

--2O6vEAo6UlsM2iij
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCast3CwAKCRAFyCz1etHa
RvLEAJsHThEFRYnN9lUbXDqoh/JCmkUcfACdGLiwykRN60ovmzu7otfvWour8nE=
=ijbp
-----END PGP SIGNATURE-----

--2O6vEAo6UlsM2iij--
Technical Details
Message-ID: <NN0dX-4Smo-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NMi3f-4sGJ-3@gated-at.bofh.it> <NMimB-4sNu-5@gated-at.bofh.it> <NMj8Z-4te7-7@gated-at.bofh.it> <NMpo5-4yob-3@gated-at.bofh.it> <NMMkF-4KVe-3@gated-at.bofh.it> <NMPix-4MDN-1@gated-at.bofh.it> <NMV4B-4PP7-1@gated-at.bofh.it> <NN04h-4SiX-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: <tomas@tuxteam.de>
Newsgroups: linux.debian.user
Subject: Re: spam pdf, safe way to look at it? which Debian testing tool to  use?
Date: Sun, 11 Oct 2026 13:50:01 +0200
Message-ID: <NN0dX-4Smo-7@gated-at.bofh.it>
References: <NMi3f-4sGJ-3@gated-at.bofh.it> <NMimB-4sNu-5@gated-at.bofh.it> <NMj8Z-4te7-7@gated-at.bofh.it> <NMpo5-4yob-3@gated-at.bofh.it> <NMMkF-4KVe-3@gated-at.bofh.it> <NMPix-4MDN-1@gated-at.bofh.it> <NMV4B-4PP7-1@gated-at.bofh.it> <NN04h-4SiX-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Sun Oct 11 11:46:39 2026
Old-Return-Path: <tomas@tuxteam.de>
X-Amavis-Spam-Status: No, score=-2.1 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="2O6vEAo6UlsM2iij"
Content-Disposition: inline
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832364
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/ast3Er9ZilcP/sjS@tuxteam.de
Approved: robomod@news.nic.it
Lines: 67
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: debian-user@lists.debian.org
X-Original-Date: Sun, 11 Oct 2026 13:46:26 +0200
X-Original-Message-ID: <ast3Er9ZilcP/sjS@tuxteam.de>
X-Original-References: <P3VZqUR--F-9@tutamail.com>
 <asjfNcUlmWEZVsp8@randomstring.org>
 <P3VpGcV--J-9@tutamail.com>
 <CAH8yC8mkjSxGBLnox9uWX-rBnfaxwXv5-8e4BYMX1mUXL9kgWQ@mail.gmail.com>
 <dvkqpm-48c.ln1@anthive.com>
 <7f18e895-49c6-4225-9976-f0f93c2df17f@hbsys.plus.com>
 <assoLAW+QxzYH01L@tuxteam.de>
 <beb7f731-1023-4f68-b6b7-70cb8889ac4c@hbsys.plus.com>