Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandbox-available evel.Function not correctly sanitized #18

Closed
natevw opened this issue Nov 25, 2013 · 1 comment
Closed

Sandbox-available evel.Function not correctly sanitized #18

natevw opened this issue Nov 25, 2013 · 1 comment
Labels

Comments

@natevw
Copy link
Owner

natevw commented Nov 25, 2013

The following code still breaks out of the sandbox:

Function.__proto__.constructor("return this")()

As surmised in #17, the fix in #15 merely shadows (rather than fully replacing) the original constructor property. Don't think this will be too hard to fix properly.

@natevw natevw closed this as completed in c11bcc9 Nov 25, 2013
@kumavis
Copy link
Contributor

kumavis commented Nov 26, 2013

Ah clever attack! and well plugged. Looks like the challenge is back on : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants