CVE-2013-1899
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…
- 6.5MediumCVSS base score
- 54.3%Exploitation in 30 daysEPSS · top 1.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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).
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module for it.
Show the exploits1
Metasploit modules1 module
- PostgreSQL Database Name Command Line Flag Injection (Metasploit module) (opens in a new tab)
auxiliary/scanner/postgres/postgres_dbname_flag_injectionRank normal
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 44 days later
· 44 days later
Published
- 11 years later
· 11 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 54.3% · top 1.0% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
n/a
- affected n/a
References
18
- http://www.postgresql.org/docs/current/static/release-9-2-4.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.postgresql.org/about/news/1456/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2013:0628 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2013:0635 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://www.postgresql.org/support/security/faq/2013-04-04/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2013:142 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://support.apple.com/kb/HT5892 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.postgresql.org/docs/current/static/release-9-0-13.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-1789-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- APPLE-SA-2013-09-12-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- FEDORA-2013-6148 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- APPLE-SA-2013-09-17-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://www.postgresql.org/docs/current/static/release-9-1-9.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SU-2013:0633 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- DSA-2658 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- openSUSE-SU-2013:0627 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- FEDORA-2013-5000 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- http://support.apple.com/kb/HT5880 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2013-1895 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2013-1899)Record last updated .