Lucene search

K
attackerkbAttackerKBAKB:0CB353BB-7B60-4FBE-9AFB-F0850B96A431
HistoryApr 01, 2019 - 12:00 a.m.

CVE-2019-9193

2019-04-0100:00:00
attackerkb.com
35

0.974 High

EPSS

Percentile

99.9%

DISPUTED In PostgreSQL 9.3 through 11.2, the “COPY TO/FROM PROGRAM” function allows superusers and users in the ‘pg_execute_server_program’ group to execute arbitrary code in the context of the database’s operating system user. This functionality is enabled by default and can be abused to run arbitrary operating system commands on Windows, Linux, and macOS. NOTE: Third parties claim/state this is not an issue because PostgreSQL functionality for ‘COPY TO/FROM PROGRAM’ is acting as intended. References state that in PostgreSQL, a superuser can execute commands as the server user without using the ‘COPY FROM PROGRAM’.

Recent assessments:

pbarry-r7 at November 21, 2019 11:16pm UTC reported:

There’s some interesting debate around the couching of this as a vuln in PostgreSQL, itself, since the COPY TO/FROM PROGRAM is ostensibly documented to allow program execution. Certainly a good reminder to, in general, limit privs where possible (in this case, don’t grant ‘pg_execute_server_program’ to users who don’t require it).

Assessed Attacker Value: 2
Assessed Attacker Value: 2Assessed Attacker Value: 5