pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: CVE-2019-9193 about COPY FROM/TO PROGRAM
Date: Sat, 30 Mar 2019 17:16:08 -0400
Message-ID: <8059.1553980568@sss.pgh.pa.us> (raw)
In-Reply-To: <e6251b54-78f4-4ec0-8e22-8c4179f0e817@manitou-mail.org>
References: <e6251b54-78f4-4ec0-8e22-8c4179f0e817@manitou-mail.org>

"Daniel Verite" <daniel@manitou-mail.org> writes:
> I've noticed this post being currently shared on social media:

> https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2019-9193-authenticated-arbitrar...

> The claim that COPY FROM PROGRAM warrants a CVE seems groundless
> because you need to be superuser in the first place to do that.

Yeah; this is supposing that there is a security boundary between
Postgres superusers and the OS account running the server, which
there is not.  We could hardly have features like untrusted PLs
if we were trying to maintain such a boundary.

> I don't know if there are precedents of people claiming
> CVE entries on Postgres without seemingly reaching out to the
> community first. Should something be done proactively about
> that particular claim?

Well, it's odd, because somebody at trustwave (not the actual
author of this "research") did reach out to the pgsql-security
list, and we discussed with him that it wasn't a violation of
Postgres' security model, and he agreed.  But then they've
posted this anyway.  Left hand doesn't talk to right hand there,
apparently.

			regards, tom lane





view thread (19+ messages)  latest in thread

Message-ID: <8059.1553980568@sss.pgh.pa.us>
Permalink:  ../8059.1553980568@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8059.1553980568@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, daniel@manitou-mail.org
  Subject: Re: CVE-2019-9193 about COPY FROM/TO PROGRAM
  In-Reply-To: <8059.1553980568@sss.pgh.pa.us>
  References: <e6251b54-78f4-4ec0-8e22-8c4179f0e817@manitou-mail.org> <8059.1553980568@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox