CVE-2017-15099
Description
INSERT ... ON CONFLICT DO UPDATE commands in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 disclose table contents that the invoker lacks privilege to read. These exploits affect only tables where the attacker lacks full read access but has both INSERT and UPDATE privileges. Exploits bypass row level security policies and lack of SELECT privilege.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-15099.html
Vendor advisory: secalert@redhat.com — https://www.postgresql.org/support/security/
Vendor advisory: secalert@redhat.com — https://www.postgresql.org/about/news/1801/
Vendor advisory: arch — https://security.archlinux.org/ASA-201711-17
Vendor advisory: arch — https://security.archlinux.org/ASA-201711-18
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| arch | fixed | 9.6.6-1 | |
| debian | 9.0 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| postgresql | postgresql | 9.5 | |
| postgresql | postgresql | 9.5.1 | |
| postgresql | postgresql | 9.5.2 | |
| postgresql | postgresql | 9.5.3 | |
| postgresql | postgresql | 9.5.4 | |
| postgresql | postgresql | 9.5.5 | |
| postgresql | postgresql | 9.5.6 | |
| postgresql | postgresql | 9.5.7 | |
| postgresql | postgresql | 9.5.8 | |
| postgresql | postgresql | 9.5.9 | |
| postgresql | postgresql | 9.6 | |
| postgresql | postgresql | 9.6.1 | |
| postgresql | postgresql | 9.6.2 | |
| postgresql | postgresql | 9.6.3 | |
| postgresql | postgresql | 9.6.4 | |
| postgresql | postgresql | 9.6.5 | |
| postgresql | postgresql | 10.0 | |
References
- https://security.archlinux.org/ASA-201711-18
- https://security.archlinux.org/ASA-201711-17
- http://www.securityfocus.com/bid/101781
- http://www.securitytracker.com/id/1039752
- https://access.redhat.com/errata/RHSA-2018:2511
- https://access.redhat.com/errata/RHSA-2018:2566
- https://www.debian.org/security/2017/dsa-4028
- https://www.postgresql.org/about/news/1801/
- https://www.postgresql.org/support/security/
- https://www.suse.com/security/cve/CVE-2017-15099.html
CWEs
CWE-200
Verify integrity in audit chain (admin only). AS-IS.