CVE-2019-9193
Last modified
CVE-2019-9193 is a vulnerability of currently unknown severity. 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. EPSS estimates a 91.88% chance of exploitation in the next 30 days.
Description
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’.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 9.3, <= 11.2 |
References
- https://blog.hagander.net/when-a-vulnerability-is-not-a-vulnerability-244/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190502-0003/Third Party Advisory
- https://blog.hagander.net/when-a-vulnerability-is-not-a-vulnerability-244/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20190502-0003/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-9193?
How severe is CVE-2019-9193?
How do I fix CVE-2019-9193?
Are you affected by CVE-2019-9193?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
