Существует уязвимость типа путаницы, связанная с обработкой адреса X.400 внутри X.509 GeneralName. Адреса X.400 анализировались как ASN1_STRING, но определение публичной структуры для GENERAL_NAME неверно указывало тип поля x400Address как ASN1_TYPE. Это поле впоследствии интерпретируется функцией OpenSSL GENERAL_NAME_cmp как ASN1_TYPE, а не ASN1_STRING.
Когда проверка CRL включена (т.е. приложение устанавливает флаг X509_V_FLAG_CRL_CHECK), эта уязвимость может позволить злоумышленнику передавать произвольные указатели на вызов memcmp, позволяя им читать содержимое памяти или устанавливать отказ в обслуживании. В большинстве случаев атака требует от злоумышленника предоставить как цепочку сертификатов, так и CRL, ни один из которых не должен иметь действительной подписи. Если злоумышленник контролирует только один из этих входов, другой вход уже должен содержать адрес X.400 в качестве точки распространения CRL, что является необычным.
Таким образом, эта уязвимость, скорее всего, повлияет только на приложения, которые реализовали свою собственную функциональность для извлечения CRLs по сети.
Показать оригинальное описание (EN)
There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address field as ASN1_TYPE. This field is subsequently interpreted by the OpenSSL function GENERAL_NAME_cmp as an ASN1_TYPE rather than an ASN1_STRING. When CRL checking is enabled (i.e. the application sets the X509_V_FLAG_CRL_CHECK flag), this vulnerability may allow an attacker to pass arbitrary pointers to a memcmp call, enabling them to read memory contents or enact a denial of service. In most cases, the attack requires the attacker to provide both the certificate chain and CRL, neither of which need to have a valid signature. If the attacker only controls one of these inputs, the other input must already contain an X.400 address as a CRL distribution point, which is uncommon. As such, this vulnerability is most likely to only affect applications which have implemented their own functionality for retrieving CRLs over a network.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 9
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
1.0.2
|
1.0.2zg
|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
1.1.1
|
1.1.1t
|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
3.0.0
|
3.0.8
|
|
Stormshield Stormshield_Management_Center
cpe:2.3:a:stormshield:stormshield_management_center:*:*:*:*:*:*:*:*
|
— |
3.3.3
|
|
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
|
2.7.0
|
2.7.11
|
|
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
|
2.8.0
|
3.7.34
|
|
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
|
3.8.0
|
3.11.22
|
|
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
|
4.0.0
|
4.3.16
|
|
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
|
4.4.0
|
4.6.3
|