mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
21 lines
1.8 KiB
Markdown
21 lines
1.8 KiB
Markdown
|
|
### [CVE-2024-12797](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-12797)
|
||
|
|

|
||
|
|

|
||
|
|

|
||
|
|
|
||
|
|
### Description
|
||
|
|
|
||
|
|
Issue summary: Clients using RFC7250 Raw Public Keys (RPKs) to authenticate aserver may fail to notice that the server was not authenticated, becausehandshakes don't abort as expected when the SSL_VERIFY_PEER verification modeis set.Impact summary: TLS and DTLS connections using raw public keys may bevulnerable to man-in-middle attacks when server authentication failure is notdetected by clients.RPKs are disabled by default in both TLS clients and TLS servers. The issueonly arises when TLS clients explicitly enable RPK use by the server, and theserver, likewise, enables sending of an RPK instead of an X.509 certificatechain. The affected clients are those that then rely on the handshake tofail when the server's RPK fails to match one of the expected public keys,by setting the verification mode to SSL_VERIFY_PEER.Clients that enable server-side raw public keys can still find out that rawpublic key verification failed by calling SSL_get_verify_result(), and thosethat do, and take appropriate action, are not affected. This issue wasintroduced in the initial implementation of RPK support in OpenSSL 3.2.The FIPS modules in 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.
|
||
|
|
|
||
|
|
### POC
|
||
|
|
|
||
|
|
#### Reference
|
||
|
|
No PoCs from references.
|
||
|
|
|
||
|
|
#### Github
|
||
|
|
- https://github.com/DeepOchhane/Dev-Sec-Ops-Project
|
||
|
|
- https://github.com/Dgporte/ExerciciosDockerPB2025
|
||
|
|
- https://github.com/chnzzh/OpenSSL-CVE-lib
|
||
|
|
- https://github.com/williampsena/ci-repices
|
||
|
|
|