9.9 CRITICAL
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse ignored package firebird-emu
- @LeSuisse accepted
- @LeSuisse published on GitHub
Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution
Firebird is an open-source relational database management system. In versions prior to 5.0.4, 4.0.7 and 3.0.14, the external engine plugin loader concatenates a user-supplied engine name into a filesystem path without filtering path separators or .. components. An authenticated user with CREATE FUNCTION privileges can use a crafted ENGINE name to load an arbitrary shared library from anywhere on the filesystem via path traversal. The library's initialization code executes immediately during loading, before Firebird validates the module, achieving code execution as the server's OS account. This issue has been fixed in versions 5.0.4, 4.0.7 and 3.0.14.
References
-
https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-7pxc-h3rv-r257 x_refsource_CONFIRM
Ignored references (3)
-
https://github.com/FirebirdSQL/firebird/releases/tag/v3.0.14 x_refsource_MISC
-
https://github.com/FirebirdSQL/firebird/releases/tag/v4.0.7 x_refsource_MISC
-
https://github.com/FirebirdSQL/firebird/releases/tag/v5.0.4 x_refsource_MISC
Affected products
- ==< 3.0.14
- ==>= 4.0.0, < 4.0.7
- ==>= 5.0.0, < 5.0.4
Matching in nixpkgs
pkgs.firebird
SQL relational database management system
pkgs.firebird_3
SQL relational database management system
pkgs.firebird_4
SQL relational database management system
Ignored packages (1)
pkgs.firebird-emu
Third-party multi-platform emulator of the ARM-based TI-Nspire™ calculators
Package maintainers
-
@bbenno Benno Bielmeier <nix@bbenno.com>