nday
CVE-2019-9193

PostgreSQL: command injectionTítulo compuesto por nday; el registro CVE no tiene título.

Apareció una PoC pública 37 días después de la divulgación. nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recogen 3 de las 4 fuentes de PoC: exploitdb, metasploit y nuclei. No figura en el KEV de CISA.

tags weakness typecommand injection accessnetworkno user interaction exploitationMetasploitExploit-DBnuclei productPostgreSQL product typedatabase
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by NVD's analysts
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no user interaction
UI:N in CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
Metasploit
Metasploit modules exploit/multi/postgres/postgres_copy_from_program_cmd_exec
Exploit-DB
Exploit-DB entries 46813, 50847, 51247
nuclei
nuclei templates CVE-2019-9193
PostgreSQL
CPE names NVD's analysts give as vulnerable: a:postgresql:postgresql
database
CPE names NVD's analysts give as vulnerable: a:postgresql:postgresqlthe product type of PostgreSQL in nday's product registry
etapa
POC
divulgación
divulgación → PoC
T+37d POC: solo fecha
cvss
sin puntuación aún

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2019-04-01T00:00Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
2019-05-08, solo fecha +2 más
metasploit, nuclei
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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

Original text of the CVE record (cvelist), shown as published.

Registro de eventos

+DISdivulgación

mitre publicó el registro CVE.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 64117,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2019-9193",
  "occurred_at": "2019-04-01T00:00:00Z",
  "observed_at": "2026-11-12T21:04:12.541754Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "ssvc": {
      "timestamp": "2024-04-24T17:12:53.867918Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2019-04-01T00:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2019-05-08solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «PostgreSQL 9.3 - COPY FROM PROGRAM Command Execution (Metasploit)» (EDB-46813). Verificado por Exploit-DB.

fuente exploitdb 46813 · nday , importación masiva · en bruto
{
  "id": 27357,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/46813",
  "occurred_at": "2019-05-08T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "46813",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/46813",
    "file": "exploits/multiple/remote/46813.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "PostgreSQL 9.3 - COPY FROM PROGRAM Command Execution (Metasploit)",
    "author": "Metasploit",
    "edb_id": 46813,
    "cve_ids": [
      "CVE-2019-9193"
    ],
    "platform": "multiple",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2019-05-08",
    "date_updated": "2019-05-08",
    "date_published": "2019-05-08"
  }
}
2022-03-30solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «PostgreSQL 9.3-11.7 - Authenticated Remote Code Execution (RCE)» (EDB-50847).

fuente exploitdb 50847 · nday , observado en tiempo real · en bruto
{
  "id": 500275,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/50847",
  "occurred_at": "2022-03-30T00:00:00Z",
  "observed_at": "2026-11-23T11:01:06.82903Z",
  "is_backfill": false,
  "dedupe_key": "50847",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/50847",
    "file": "exploits/multiple/remote/50847.py",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "PostgreSQL 9.3-11.7 - Authenticated Remote Code Execution (RCE)",
    "author": "b4keSn4ke",
    "edb_id": 50847,
    "cve_ids": [
      "CVE-2019-9193"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2022-03-30",
    "date_updated": "2022-03-30",
    "date_published": "2022-03-30"
  }
}
2023-04-05solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «PostgreSQL 9.6.1 - Authenticated Remote Code Execution (RCE)» (EDB-51247).

fuente exploitdb 51247 · nday , observado en tiempo real · en bruto
{
  "id": 500276,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/51247",
  "occurred_at": "2023-04-05T00:00:00Z",
  "observed_at": "2026-11-23T11:01:06.82903Z",
  "is_backfill": false,
  "dedupe_key": "51247",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/51247",
    "file": "exploits/multiple/remote/51247.py",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "PostgreSQL 9.6.1 - Authenticated Remote Code Execution (RCE)",
    "author": "Paulo Trindade",
    "edb_id": 51247,
    "cve_ids": [
      "CVE-2019-9193"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2023-04-05",
    "date_updated": "2023-04-05",
    "date_published": "2023-04-05"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Metasploit incluye el módulo exploit/multi/postgres/postgres_copy_from_program_cmd_exec (PostgreSQL COPY FROM PROGRAM Command Execution). La fuente no indica cuándo se publicó el módulo.

fuente metasploit exploit/multi/postgres/postgres_copy_from_program_cmd_exec · nday , importación masiva · en bruto
{
  "id": 51576,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/postgres/postgres_copy_from_program_cmd_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/postgres/postgres_copy_from_program_cmd_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/postgres/postgres_copy_from_program_cmd_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/postgres/postgres_copy_from_program_cmd_exec.rb",
    "rank": 600,
    "check": true,
    "title": "PostgreSQL COPY FROM PROGRAM Command Execution",
    "cve_ids": [
      "CVE-2019-9193"
    ],
    "fullname": "exploit/multi/postgres/postgres_copy_from_program_cmd_exec",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:58:09 +0000",
    "vuln_disclosure_date": "2019-03-20"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Nuclei tiene la plantilla de detección CVE-2019-9193 (PostgreSQL 9.3-12.3 Authenticated Remote Code Execution). La fuente no indica cuándo se publicó la plantilla.

fuente nuclei · nday , importación masiva · en bruto
{
  "id": 57633,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2019/CVE-2019-9193.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2019-9193",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2019/CVE-2019-9193.yaml",
    "kind": "detection_template",
    "title": "PostgreSQL 9.3-12.3 Authenticated Remote Code Execution",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "N/A",
    "template_id": "CVE-2019-9193",
    "template_path": "javascript/cves/2019/CVE-2019-9193.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.