OpenSSL 1.0.2a fix several security issues, one of them let crash TLSv1.2 based services remotelly from internet.
Regarding to the TLSv1.2 RFC, this version of TLS provides a "signature_algorithms" extension for the client_hello.
Regarding to the TLSv1.2 RFC, this version of TLS provides a "signature_algorithms" extension for the client_hello.
Data Structures |
If a bad signature is sent after the renegotiation, the structure will be corrupted, becouse structure pointer:
s->c->shared_sigalgs will be NULL, and the number of algorithms:
s->c->shared_sigalgslen will not be zeroed.
Which will be interpreted as one algorithm to process, but the pointer points to 0x00 address.
s->c->shared_sigalgs will be NULL, and the number of algorithms:
s->c->shared_sigalgslen will not be zeroed.
Which will be interpreted as one algorithm to process, but the pointer points to 0x00 address.
Then tls1_process_sigalgs() will try to process one signature algorithm (becouse of shared_sigalgslen=1) then sigptr will be pointer to c->shared_sigalgs (NULL) and then will try to derreference sigptr->rhash.
This mean a Segmentation Fault in tls1_process_sigalgs() function, and called by tls1_set_server_sigalgs() with is called from ssl3_client_hello() as the stack trace shows.
StackTrace |
The following code, points sigptr to null and try to read sigptr->rsign, which is assembled as movzbl eax, byte ptr [0x0+R12] note in register window that R12 is 0x00
Debugger in the crash point. |
radare2 static decompiled |
Get David A. Ramos' proof of concept exploit here
More articles
- Hack Tools 2019
- How To Install Pentest Tools In Ubuntu
- What Is Hacking Tools
- Pentest Tools Framework
- Hacker Tools Online
- Pentest Tools Free
- Pentest Tools Download
- Github Hacking Tools
- Pentest Tools List
- Nsa Hack Tools
- Hacking Tools Software
- Pentest Tools Framework
- Hacker Tools Apk
- Pentest Tools
- Hack App
- Beginner Hacker Tools
- Hacker Tools
- Hacking Tools Download
- Bluetooth Hacking Tools Kali
- Hacker Tools List
- Top Pentest Tools
- Pentest Tools For Mac
- Termux Hacking Tools 2019
- Hack Tools For Mac
- Hacking Tools Hardware
- Hacking Tools For Beginners
- Pentest Tools For Windows
- Beginner Hacker Tools
- How To Make Hacking Tools
- What Are Hacking Tools
- What Is Hacking Tools
- Hacker Tools For Windows
- Top Pentest Tools
- Hacking Tools Software
- Hacking Tools Hardware
- Hack Apps
- Hacking Tools Free Download
- Hack Tools For Mac
- Hacker Hardware Tools
- Hacker Security Tools
- How To Install Pentest Tools In Ubuntu
- Tools Used For Hacking
- Beginner Hacker Tools
- Hacker Tools 2020
- Easy Hack Tools
- Free Pentest Tools For Windows
- How To Hack
- Hacking Tools 2020
- Pentest Tools For Windows
- Hacker Tools Free
- Hack Tools For Games
- Game Hacking
- Pentest Tools Windows
- Hack Tools Mac
- Pentest Tools Url Fuzzer
- Pentest Tools Port Scanner
- Pentest Tools Alternative
- Hacker Security Tools
- Hacker Search Tools
- Hacking Tools 2019
- Hack Tools Pc
- Hacker Tools For Pc
- Hacker Tools For Ios
- Growth Hacker Tools
- Hack Tools For Mac
- Pentest Tools Url Fuzzer
- Pentest Recon Tools
- Hack Tool Apk
- Hacking Tools Download
- Hacking Tools Usb