Jump to content
Nytro

CVE-2018-4121 - Safari Wasm Sections POC RCE Exploit

Recommended Posts

Posted

CVE-2018-4121 - Safari Wasm Sections POC RCE Exploit

by MWR Labs (c) 2018

Details

  • this proof of concept exploit targets Safari 11.0.3 (13604.5.6) on macOS 10.13.3 (17D47) versions only.
  • compile the payload of your choice as a dylib with a constructor
  • run python file_to_jsarray.py your.dylib payload.js
  • serve this directory and point Safari to /exploit.html
  • exploit is not fully reliable and uses hardcoded offsets for this macOS/Safari version.
  • exploit takes a while to run due to the size of the heap spray (24.5GB).
  • this issue is addressed in macOS 10.13.4 as CVE-2018-4121 (https://support.apple.com/en-gb/HT208692)

Credits

References

 

Sursa: https://github.com/mwrlabs/CVE-2018-4121

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...