CVE-2013-1899

medium
Published 2013-04-04 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

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

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Metasploit modules

PostgreSQL Database Name Command Line Flag Injection
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

OSVersionStatusFixed in
ubuntu ubuntu8.04affected
ubuntu ubuntu10.04affected
ubuntu ubuntu11.10affected
ubuntu ubuntu12.04affected
ubuntu ubuntu12.10affected

Application impact

VendorProductVersionsFixed
postgresql postgresqlpostgresql9.2
postgresql postgresqlpostgresql9.2.1
postgresql postgresqlpostgresql9.2.2
postgresql postgresqlpostgresql9.2.3
postgresql postgresqlpostgresql9.1
postgresql postgresqlpostgresql9.1.1
postgresql postgresqlpostgresql9.1.2
postgresql postgresqlpostgresql9.1.3
postgresql postgresqlpostgresql9.1.4
postgresql postgresqlpostgresql9.1.5
postgresql postgresqlpostgresql9.1.6
postgresql postgresqlpostgresql9.1.7
postgresql postgresqlpostgresql9.1.8
postgresql postgresqlpostgresql9.0
postgresql postgresqlpostgresql9.0.1
postgresql postgresqlpostgresql9.0.2
postgresql postgresqlpostgresql9.0.3
postgresql postgresqlpostgresql9.0.4
postgresql postgresqlpostgresql9.0.5
postgresql postgresqlpostgresql9.0.6
postgresql postgresqlpostgresql9.0.7
postgresql postgresqlpostgresql9.0.8
postgresql postgresqlpostgresql9.0.9
postgresql postgresqlpostgresql9.0.10
postgresql postgresqlpostgresql9.0.11
postgresql postgresqlpostgresql9.0.12

References

CWEs

CWE-94

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.