الرئيسية
الرئيسية
الاتجاهات
الاتجاهات
الثغرات
الثغرات
الأخبار
الأخبار
الباحثون
الباحثون
لماذا dbugs؟
لماذا dbugs؟
الإعدادات

Patrick Dawkins

#30927من 61,044
9.4إجمالي CVSS
الثغرات · 1
PT-2024-9626
2023-07-12
9.4
CVE-2024-45337
Google
Golang.Org/X/Crypto
The issue is related to the misuse of the `ServerConfig.PublicKeyCallback` callback in applications and libraries, which may lead to an authorization bypass. The SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. `PublicKeyCallback` may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to `PublicKeyCallback` (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions. For example, an attacker may send public keys A and B, and then authenticate with A. `PublicKeyCallback` would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key.