ブログはじめました。日本語だと不便です。機能も少ないです。 なのでそのうち他のサービスを探します。ここはとりあえず実験的に。

土曜日, 5月 27, 2023

TLS V1.2 Sigalgs Remote Crash (CVE-2015-0291)


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. 

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. 


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


The patch fix the vulnerability zeroing the sigalgslen.
Get  David A. Ramos' proof of concept exploit here





More articles
  1. Black Hat Hacker Tools
  2. Hack Tools
  3. Hacker Tools Free
  4. Growth Hacker Tools
  5. Best Hacking Tools 2019
  6. Hacking Tools Name
  7. Underground Hacker Sites
  8. Hacking Tools Pc
  9. Best Pentesting Tools 2018
  10. Tools 4 Hack
  11. Computer Hacker
  12. Hacking Tools Kit
  13. Hack Tools
  14. Hacker Tools For Ios
  15. Termux Hacking Tools 2019
  16. Best Hacking Tools 2020
  17. Hacker Tools 2019
  18. Easy Hack Tools
  19. Hacker Hardware Tools
  20. Hacking Tools Online
  21. Pentest Tools Subdomain
  22. Pentest Tools Bluekeep
  23. Hacker Tools Free Download
  24. Pentest Tools Nmap
  25. Hacker
  26. Hacking Tools Kit
  27. World No 1 Hacker Software
  28. Hacker Tools Free
  29. Pentest Tools Review
  30. Hacks And Tools
  31. Hacking Tools For Kali Linux
  32. Hacking Tools Windows
  33. Pentest Tools Review
  34. Install Pentest Tools Ubuntu
  35. Hacking Tools For Games
  36. Hacking Tools For Windows 7
  37. Pentest Tools Port Scanner
  38. Tools For Hacker
  39. Easy Hack Tools
  40. Hacker Tools Free
  41. Hacker Tools Windows
  42. Computer Hacker
  43. Pentest Tools Windows
  44. What Is Hacking Tools
  45. Hacking Tools
  46. Hack Tools For Windows
  47. Bluetooth Hacking Tools Kali
  48. Wifi Hacker Tools For Windows
  49. Hacks And Tools
  50. Hacking Tools Github
  51. Hacking Tools For Pc
  52. Pentest Tools Website Vulnerability
  53. Hack Tool Apk No Root
  54. Pentest Recon Tools
  55. Tools 4 Hack
  56. Game Hacking
  57. Hacking Tools Pc
  58. Pentest Tools Website
  59. Hacking Tools Usb
  60. Hacking Tools Hardware
  61. Pentest Tools Bluekeep
  62. Pentest Tools For Mac
  63. How To Install Pentest Tools In Ubuntu
  64. Hack Tools For Mac
  65. Easy Hack Tools
  66. Black Hat Hacker Tools
  67. Hacking Tools Name
  68. Pentest Tools
  69. Hacker Tools List
  70. Hacker Hardware Tools
  71. Hacker Tools Hardware
  72. Pentest Tools Nmap
  73. Pentest Tools For Windows
  74. Hacker Tools Free Download
  75. Hacking Tools Pc
  76. Free Pentest Tools For Windows
  77. Pentest Tools Tcp Port Scanner
  78. Hack Tools Pc
  79. Hacking Tools Usb
  80. Pentest Tools Apk
  81. Hacking Tools Online
  82. Pentest Recon Tools
  83. Hackers Toolbox
  84. Hacking Tools For Pc
  85. Hacking Tools Kit
  86. Nsa Hacker Tools
  87. Hacking App
  88. Hacking Tools For Pc
  89. Hacking Tools Free Download
  90. What Is Hacking Tools
  91. Hack Tools For Games
  92. Pentest Tools Url Fuzzer
  93. New Hack Tools
  94. Bluetooth Hacking Tools Kali
  95. Hack App
  96. Hack Tools Mac
  97. Hacking Tools And Software
  98. World No 1 Hacker Software
  99. Hacker Tools Windows
  100. Hack App
  101. Pentest Tools Tcp Port Scanner
  102. Hackrf Tools
  103. Easy Hack Tools
  104. Hacker Tools 2020
  105. Hacker Security Tools
  106. Underground Hacker Sites
  107. Blackhat Hacker Tools
  108. Hacking Apps
  109. Pentest Tools Free
  110. Pentest Tools List
  111. Pentest Tools Nmap
  112. Hacker Security Tools
  113. Hack Tools
  114. Github Hacking Tools
  115. Hack Tools For Mac
  116. Hackrf Tools
  117. Hacking Tools Usb
  118. How To Install Pentest Tools In Ubuntu
  119. Hacking Tools Windows 10
  120. Hacker Tools Apk
  121. Hak5 Tools
  122. Hacking Tools Online
  123. Nsa Hack Tools
  124. Usb Pentest Tools
  125. Hacker Tools Free Download
  126. Pentest Tools Nmap
  127. Nsa Hacker Tools
  128. What Is Hacking Tools
  129. Hacking Tools For Windows Free Download
  130. How To Hack
  131. Hacking Apps
  132. Pentest Reporting Tools
  133. What Are Hacking Tools
  134. Hack Tools 2019
  135. Hacking Tools Windows
  136. Pentest Tools For Mac
  137. Hackrf Tools
  138. Hacking Tools Github
  139. Hack Tools
  140. Hacking Tools For Kali Linux
  141. Pentest Tools Windows
  142. Hacking Tools Hardware
  143. Nsa Hack Tools Download
  144. Hack Tools For Ubuntu
  145. Hack App
  146. Hak5 Tools
  147. Hacking Tools 2019
  148. Pentest Tools Nmap
  149. Hacking Tools For Mac
  150. Hack Tools For Pc
  151. Pentest Tools Bluekeep
  152. What Are Hacking Tools
  153. Hacking Apps
  154. Hacker Tools List
  155. Pentest Tools
  156. Hacking Tools Download
  157. Top Pentest Tools
  158. Hack Tools Download
  159. Pentest Tools For Windows
  160. Pentest Tools Apk
  161. Hacking Tools For Games
  162. Hacking Tools Software
  163. How To Install Pentest Tools In Ubuntu