nday
CVE-2013-1899

PostgreSQL: code injectionTitle composed by nday; the CVE record has none.

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: metasploit. Not in CISA KEV.

tags weakness typecode injection accessnetwork exploitationMetasploit 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.

code injection
CWE-94, stated by NVD's analysts
network
AV:N in AV:N/AC:L/Au:S/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules auxiliary/scanner/postgres/postgres_dbname_flag_injection
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

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2013-04-04T17:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to cause a denial of service (file corruption), and allows remote authenticated users to modify configuration settings and execute arbitrary code, via a connection request using a database name that begins with a "-" (hyphen).

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

Event log

+DISdisclosed

CVE record published by redhat.

src cvelist · nday , bulk import · raw
{
  "id": 70850,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2013-1899",
  "occurred_at": "2013-04-04T17:00:00Z",
  "observed_at": "2026-11-13T04:00:52.552473Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2013-04-04T17:00:00.000Z",
    "assigner_short_name": "redhat"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module auxiliary/scanner/postgres/postgres_dbname_flag_injection (PostgreSQL Database Name Command Line Flag Injection). The source gives no release time for the module.

src metasploit auxiliary/scanner/postgres/postgres_dbname_flag_injection · nday , bulk import · raw
{
  "id": 50205,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/postgres/postgres_dbname_flag_injection.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/scanner/postgres/postgres_dbname_flag_injection",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/postgres/postgres_dbname_flag_injection.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/scanner/postgres/postgres_dbname_flag_injection.rb",
    "rank": 300,
    "check": false,
    "title": "PostgreSQL Database Name Command Line Flag Injection",
    "cve_ids": [
      "CVE-2013-1899"
    ],
    "fullname": "auxiliary/scanner/postgres/postgres_dbname_flag_injection",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-04-02 17:30:43 +0000",
    "vuln_disclosure_date": null
  }
}

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.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.