Learn about CVE-2017-15099 affecting PostgreSQL versions 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10. Find out how unauthorized users can access table contents and the necessary mitigation steps.
PostgreSQL vulnerability in INSERT ... ON CONFLICT DO UPDATE commands
Understanding CVE-2017-15099
What is CVE-2017-15099?
The vulnerability in PostgreSQL versions 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 allows unauthorized users to access table contents they lack permission to read.
The Impact of CVE-2017-15099
This vulnerability can be exploited by attackers with INSERT and UPDATE privileges but without full read access, bypassing security policies and SELECT privilege restrictions.
Technical Details of CVE-2017-15099
Vulnerability Description
The vulnerability lies in the INSERT ... ON CONFLICT DO UPDATE commands in affected PostgreSQL versions.
Affected Systems and Versions
Exploitation Mechanism
Attackers with INSERT and UPDATE privileges can exploit this vulnerability to access table contents without proper read permissions.
Mitigation and Prevention
Immediate Steps to Take
Long-Term Security Practices
Patching and Updates