CVE-2019-9193
Public exploit code exists, so attacks usually follow. Schedule the vendor fix ahead of your normal cycle.
What it is
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’.
Live exploitation on the huntback network (30 days)
Detection
Evidence
Weaponised. Exploit code is public but no exploitation is reported yet.
Published
Exploit code published (ExploitDB)
Exploit code published (Metasploit)
Observed: our own decoys saw it. Reported: CISA, the vendor or another named source says so. Weaponised: public exploit code or a scanner template exists. Methodology
Questions
Is CVE-2019-9193 being exploited in the wild?
Not on our sensors so far: the huntback decoy network has not captured an exploitation attempt, and it is not in the CISA KEV catalogue.
Can CVE-2019-9193 be detected on the network?
huntback has no wire signature for CVE-2019-9193 yet; it may need local or authenticated access to exploit.
How huntback helps
Deploy a decoy that emulates Postgresql and you will see every attempt at this CVE the moment it lands, with the full payload, the attacker's infrastructure, and any stage-2 loader. Then huntback can scan the attacker back.
Related
NVD record → Browse all CVEs → Live malware and C2 finds → Novel-attack discovery → Deploy a decoy →API
This record, with its evidence timeline, as JSON:
curl -H "X-API-Key: $HUNTBACK_KEY" https://app.huntback.io/api/v1/evidence/CVE-2019-9193