diff options
author | Noah Misch <noah@leadboat.com> | 2023-08-07 06:05:56 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2023-08-07 06:06:00 -0700 |
commit | de494ec14f6bd7f2676623a5934723a6c8ba51c2 (patch) | |
tree | 982fcf3fb9f61a4e3e0b770bcda319cf90b05a8b /src/tutorial/syscat.source | |
parent | 0fee069960a65a22e92923d5406fcb9dae5d794c (diff) |
Reject substituting extension schemas or owners matching ["$'\].
Substituting such values in extension scripts facilitated SQL injection
when @extowner@, @extschema@, or @extschema:...@ appeared inside a
quoting construct (dollar quoting, '', or ""). No bundled extension was
vulnerable. Vulnerable uses do appear in a documentation example and in
non-bundled extensions. Hence, the attack prerequisite was an
administrator having installed files of a vulnerable, trusted,
non-bundled extension. Subject to that prerequisite, this enabled an
attacker having database-level CREATE privilege to execute arbitrary
code as the bootstrap superuser. By blocking this attack in the core
server, there's no need to modify individual extensions. Back-patch to
v11 (all supported versions).
Reported by Micah Gate, Valerie Woolard, Tim Carey-Smith, and Christoph
Berg.
Security: CVE-2023-39417
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions