Runnable Solutions seem to allow Remote Code Execution by Default #378
-
Follow up for: https://github.com/facade/ignition/issues/350 Would it be a valid solution to set As this seems to be true, and also in new laravel projects, APP_DEBUG is true, this might cause issues for lots of new users. We should configure secure by default. Otherwise this might shed a bad light one the package and laravel if lots of installations can be easily exploited. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Last week, we've added a warning when you're using debug mode on non-local environments. We think this warning can already help avoid some problems around this. We'll consider |
Beta Was this translation helpful? Give feedback.
-
Agree with @amenk and I am deeply shocked about this. This is security issue is already used in the wild. |
Beta Was this translation helpful? Give feedback.
-
I want to quickly add that we've also added a check that will only allow running solutions from localhost. So even if you'd accidentally deploy with APP_DEBUG=true, rce shouldn't be possible. |
Beta Was this translation helpful? Give feedback.
-
I found https://nvd.nist.gov/vuln/detail/CVE-2021-3129 and this might actually be fixed already since a while... sorry for the noise, if it's already fixed |
Beta Was this translation helpful? Give feedback.
Last week, we've added a warning when you're using debug mode on non-local environments. We think this warning can already help avoid some problems around this.
We'll consider
enable_runnable_solutions
tofalse
in the future. Thanks for you suggestion.