Extension script @substitutions@ within quoting allow SQL injection (CVE-2023-39417)
23259
30 April 2024
16 April 2024
CLOSED
HIGH
7.5 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE-2023-39417
Brocade Security Advisory ID |
BSA-2023-2371 |
Component |
PostgreSQL |
|
|
Summary
An extension script is vulnerable if it uses @extowner@
, @extschema@
, or @extschema:...@
inside a quoting construct (dollar quoting, ''
, or ""
). No bundled extension is vulnerable. Vulnerable uses do appear in a documentation example and in non-bundled extensions. Hence, the attack prerequisite is an administrator having installed files of a vulnerable, trusted, non-bundled extension. Subject to that prerequisite, this enables an attacker having database-level CREATE
privilege to execute arbitrary code as the bootstrap superuser. PostgreSQL will block this attack in the core server, so there's no need to modify individual extensions.
Products Affected
Brocade SANnav before Brocade SANnav v2.3.0a
Products Confirmed Not Affected
- Brocade Fabric OS - Component_not_present
- Brocade ASCG - Component_not_present
Solution
A security update is provided in Brocade v2.3.1, v2.3.0a, and later releases.
Revision History
Version |
Change |
Date |
1.0 |
Initial Publication |
04/11/2024 |
Disclaimer
THIS DOCUMENT IS PROVIDED ON AN AS-IS BASIS SOLELY FOR INFORMATIONAL PURPOSES AND DOES NOT IMPLY ANY KIND OF GUARANTY OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. YOUR USE OF THE INFORMATION CONTAINED HEREIN IS AT YOUR OWN RISK. ALL INFORMATION PROVIDED HEREIN IS BASED ON BROCADE'S CURRENT KNOWLEDGE AND UNDERSTANDING OF THE VULNERABILITY AND IMPACT TO BROCADE HARDWARE AND SOFTWARE PRODUCTS. BROCADE RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME.