CVE-2016-5424 Code injection in n/a
Authenticated users with CREATEDB or CREATEROLE roles can gain superuser privileges by injecting special characters into database or role names.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-5424?
CVE-2016-5424 is a high-severity code injection vulnerability in Debian Debian Linux, published on 9 Dec 2016. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 might allow remote authenticated users with the CREATEDB or CREATEROLE role to gain superuser privileges via a (1) " (double quote), (2) \ (backslash), (3) carriage return, or (4) newline character in a (a) database or (b) role name that is mishandled during an administrative operation.
Weakness: CWE-94
Which versions are affected by CVE-2016-5424?
It affects 2 products.
Products include Debian Debian Linux, Postgresql Postgresql.
How do I fix CVE-2016-5424?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2016-5424 being exploited?
There is no known exploitation of CVE-2016-5424 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as GHSA-9j99-5j9q-2gmp, UBUNTU-CVE-2016-5424.