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…
Noroxi assessment
Priority: Plan (action score 42/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- Probability of exploitation in the next 30 days: 54.3% (FIRST EPSS); higher than 99% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: postgresql-9.1 (Debian:7) 9.1.9-0wheezy1; postgresql93 (openSUSE:Tumbleweed) 9.3.15-1.1; postgresql94 (openSUSE:Tumbleweed) 9.4.10-1.1.
Add it to your regular patch cycle. Upgrade to postgresql-9.1 (Debian:7) 9.1.9-0wheezy1; postgresql93 (openSUSE:Tumbleweed) 9.3.15-1.1; postgresql94 (openSUSE:Tumbleweed) 9.4.10-1.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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).
- Published
- Apr 4, 2013
- Updated
- Jun 16, 2026
- EPSS
- 54.3% · 99th percentile
- CWE
- CWE-94
Report tools
Action score
42
Add it to your regular patch cycle.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 16 / 30 · 54.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is PostgreSQL on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| postgresql | postgresql | cpe:2.3:a:postgresql:postgresql |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)
Is PostgreSQL on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- postgresql postgresql9.0
- postgresql postgresql9.0.1
- postgresql postgresql9.0.10
- postgresql postgresql9.0.11
- postgresql postgresql9.0.12
- postgresql postgresql9.0.2
- postgresql postgresql9.0.3
- postgresql postgresql9.0.4
+12 more rows
- postgresql postgresql9.0.5
- postgresql postgresql9.0.6
- postgresql postgresql9.0.7
- postgresql postgresql9.0.8
- postgresql postgresql9.0.9
- postgresql postgresql9.1
- postgresql postgresql9.1.1
- postgresql postgresql9.1.2
- postgresql postgresql9.1.3
- postgresql postgresql9.1.4
- postgresql postgresql9.1.5
- postgresql postgresql9.1.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:7 | postgresql-9.1 | before 9.1.9-0wheezy1 | 9.1.9-0wheezy1 |
| openSUSE:Tumbleweed | postgresql93 | before 9.3.15-1.1 | 9.3.15-1.1 |
| openSUSE:Tumbleweed | postgresql94 | before 9.4.10-1.1 | 9.4.10-1.1 |
| openSUSE:Tumbleweed | postgresql95 | before 9.5.4-1.2 | 9.5.4-1.2 |
| Red Hat:cloudforms_managementengine:5::el6 | cfme | before 0:5.2.0.37-1.el6cf | 0:5.2.0.37-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | cfme-appliance | before 0:5.2.0.37-1.el6cf | 0:5.2.0.37-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | cfme-debuginfo | before 0:5.2.0.37-1.el6cf | 0:5.2.0.37-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | cfme-lib | before 0:5.2.0.37-1.el6cf | 0:5.2.0.37-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | cfme-vnc-plugin | before 0:1.0.0-2.el6cf | 0:1.0.0-2.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | cfme-vnc-plugin-debuginfo | before 0:1.0.0-2.el6cf | 0:1.0.0-2.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | libdnet | before 0:1.12-11.el6cf | 0:1.12-11.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | libdnet-debuginfo | before 0:1.12-11.el6cf | 0:1.12-11.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | libdnet-devel | before 0:1.12-11.el6cf | 0:1.12-11.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | libdnet-progs | before 0:1.12-11.el6cf | 0:1.12-11.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | lshw | before 0:B.02.16-4.el6cf | 0:B.02.16-4.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | lshw-debuginfo | before 0:B.02.16-4.el6cf | 0:B.02.16-4.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | lshw-gui | before 0:B.02.16-4.el6cf | 0:B.02.16-4.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | mingw32-cfme-host | before 0:5.2.0.37-1.el6cf | 0:5.2.0.37-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | netapp-manageability-sdk | before 0:4.0P1-3.el6cf | 0:4.0P1-3.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | netapp-manageability-sdk-devel | before 0:4.0P1-3.el6cf | 0:4.0P1-3.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | open-vm-tools | before 0:9.2.3-5.el6cf | 0:9.2.3-5.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | open-vm-tools-debuginfo | before 0:9.2.3-5.el6cf | 0:9.2.3-5.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | open-vm-tools-desktop | before 0:9.2.3-5.el6cf | 0:9.2.3-5.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | open-vm-tools-devel | before 0:9.2.3-5.el6cf | 0:9.2.3-5.el6cf |
+96
Same product
postgresql: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote…57Plan
- CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to…55Plan
- CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.49Plan
Published before and after this one in the same product
- ← EarlierCVE-2012-4575Nov 18, 2012 · The add_database function in objects.c in the pgbouncer pooler 1.5.2 for PostgreSQL allows remote attackers to cause a denial of service…21Monitor
- ← EarlierCVE-2013-0255Feb 12, 2013 · PostgreSQL 9.2.x before 9.2.3, 9.1.x before 9.1.8, 9.0.x before 9.0.12, 8.4.x before 8.4.16, and 8.3.x before 8.3.23 does not properly…28Monitor
- Later →CVE-2013-1900Apr 4, 2013 · PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x before 9.0.13, and 8.4.x before 8.4.17, when using OpenSSL, generates…35Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:postgresql-9.1 | 9.1.9-0wheezy1 · Debian:7 | Package registry (OSV) |
| opensuse:postgresql93 | 9.3.15-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:postgresql94 | 9.4.10-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:postgresql95 | 9.5.4-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:cfme | 0:5.2.0.37-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:cfme-appliance | 0:5.2.0.37-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:cfme-debuginfo | 0:5.2.0.37-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:cfme-lib | 0:5.2.0.37-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:cfme-vnc-plugin | 0:1.0.0-2.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:cfme-vnc-plugin-debuginfo | 0:1.0.0-2.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:libdnet | 0:1.12-11.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:libdnet-debuginfo | 0:1.12-11.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:libdnet-devel | 0:1.12-11.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:libdnet-progs | 0:1.12-11.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:lshw | 0:B.02.16-4.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:lshw-debuginfo | 0:B.02.16-4.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Metasploit module | auxiliary/scanner/postgres/postgres_dbname_flag_injectionPostgreSQL Database Name Command Line Flag Injectionauxiliary | — |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (17 more)Show less
- lists.apple.com/archives/security-announce/2013/Sep/msg00004.html
- lists.fedoraproject.org/pipermail/package-announce/2013-April/101519.html
- lists.fedoraproject.org/pipermail/package-announce/2013-April/102806.html
- lists.opensuse.org/opensuse-security-announce/2013-04/msg00007.html
- lists.opensuse.org/opensuse-security-announce/2013-04/msg00008.html
- lists.opensuse.org/opensuse-security-announce/2013-04/msg00011.html
- lists.opensuse.org/opensuse-security-announce/2013-04/msg00012.html
- support.apple.com/kb/HT5880
- support.apple.com/kb/HT5892
- www.debian.org/security/2013/dsa-2658
- www.mandriva.com/security/advisories?name=MDVSA-2013:142
- www.postgresql.org/about/news/1456/
- www.postgresql.org/docs/current/static/release-9-0-13.html
- www.postgresql.org/docs/current/static/release-9-1-9.html
- www.postgresql.org/docs/current/static/release-9-2-4.html
- www.postgresql.org/support/security/faq/2013-04-04/
- www.ubuntu.com/usn/USN-1789-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.