mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-07 03:02:30 +00:00
2.8 KiB
2.8 KiB
CVE-2019-9193
Description
** 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’.
POC
Reference
- http://packetstormsecurity.com/files/152757/PostgreSQL-COPY-FROM-PROGRAM-Command-Execution.html
- http://packetstormsecurity.com/files/166540/PostgreSQL-11.7-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/171722/PostgreSQL-9.6.1-Remote-Code-Execution.html
- https://medium.com/greenwolf-security/authenticated-arbitrary-command-execution-on-postgresql-9-3-latest-cd18945914d5
Github
- https://github.com/0xT11/CVE-POC
- https://github.com/ARPSyndicate/cvemon
- https://github.com/LubinLew/WEB-CVE
- https://github.com/Ostorlab/KEV
- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors
- https://github.com/SexyBeast233/SecBooks
- https://github.com/Threekiii/Awesome-POC
- https://github.com/Threekiii/Vulhub-Reproduce
- https://github.com/Yang8miao/prov_navigator
- https://github.com/alphaSeclab/sec-daily-2019
- https://github.com/b4keSn4ke/CVE-2019-9193
- https://github.com/bakery312/Vulhub-Reproduce
- https://github.com/bryanqb07/oscp_notes
- https://github.com/chromanite/CVE-2019-9193-PostgreSQL-9.3-11.7
- https://github.com/dai5z/LBAS
- https://github.com/developer3000S/PoC-in-GitHub
- https://github.com/dial25sd/arf-vulnerable-vm
- https://github.com/duckstroms/Web-CTF-Cheatsheet
- https://github.com/go-bi/go-bi-soft
- https://github.com/hectorgie/PoC-in-GitHub
- https://github.com/hxysaury/saury-vulnhub
- https://github.com/mynameiswillporter/payloads
- https://github.com/ngadminq/Bei-Gai-penetration-test-guide
- https://github.com/paulotrindadec/CVE-2019-9193
- https://github.com/petitfleur/prov_navigator
- https://github.com/provnavigator/prov_navigator
- https://github.com/superfish9/pt
- https://github.com/trganda/dockerv
- https://github.com/w181496/Web-CTF-Cheatsheet
- https://github.com/wkjung0624/CVE-2019-9193
- https://github.com/wkjung0624/cve-2019-9193
- https://github.com/x2nn/postgres_copy