CVE-2013-1899 Command injection in n/a
Remote attackers can cause denial of service or execute arbitrary code via argument injection in PostgreSQL connection requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-1899?
CVE-2013-1899 is a medium-severity command injection vulnerability in Canonical Ubuntu Linux, published on 4 Apr 2013. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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).
Weakness: CWE-94
Which versions are affected by CVE-2013-1899?
It affects 2 products.
Products include Canonical Ubuntu Linux, Postgresql Postgresql.
How do I fix CVE-2013-1899?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2013-1899 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-1899 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-ch6v-hpg8-wfmr.