Ghidra 11.0 before 12.1 contains a SQL injection vulnerability in the changePassword() method of PostgresFunctionDatabase that fails to escape double quotes in usernames interpolated into ALTER ROLE statements. Authenticated attackers can inject SQL commands via crafted username parameters in PasswordChange network messages to escalate to PostgreSQL superuser privileges and gain full database control.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNsa Ghidra
APPNsa11.0 – 12.1 (excl.)
Related vulnerabilities
Command injection w NSA Ghidra przez skrypt launch.sh
NSA Ghidra — RCE przez złośliwy plik XML w Bit Patterns Explorer
XXE w NSA Ghidra — odczyt plików i możliwy RCE przy otwieraniu projektu
Ghidra before 12.1 contains a command injection vulnerability in URL annotation handling on Windows where cmd....
Ghidra before 12.1 contains an unsafe deserialization vulnerability in client-side Shared-Project RMI connecti...