CWE
78
Advisory Published
Updated

CVE-2019-9193: OS Command Injection

First published: Mon Apr 01 2019(Updated: )

** 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’.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
IBM Security Verify Governance<=10.0
PostgreSQL PostgreSQL>=9.3<=11.2
>=9.3<=11.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2019-9193?

    CVE-2019-9193 is a vulnerability in PostgreSQL where the "COPY TO/FROM PROGRAM" function allows authenticated attackers to execute arbitrary code on the system.

  • How severe is CVE-2019-9193?

    CVE-2019-9193 has a severity score of 7.2 (critical).

  • Which software versions are affected by CVE-2019-9193?

    PostgreSQL versions 9.3 through 11.2 are affected by CVE-2019-9193. Additionally, IBM Security Verify Governance version 10.0 is also affected.

  • How can an attacker exploit CVE-2019-9193?

    By using the "COPY TO/FROM PROGRAM" function, superusers and users in the 'pg_execute_server_program' group can execute arbitrary code in the context of the database's operating system user.

  • Are there any references for CVE-2019-9193?

    Yes, you can find references for CVE-2019-9193 at the following links: [1](http://packetstormsecurity.com/files/152757/PostgreSQL-COPY-FROM-PROGRAM-Command-Execution.html), [2](http://packetstormsecurity.com/files/166540/PostgreSQL-11.7-Remote-Code-Execution.html), [3](http://packetstormsecurity.com/files/171722/PostgreSQL-9.6.1-Remote-Code-Execution.html)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203