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
hi, We found a remote code execution vulnerability in gridx latest version that could allow an attacker to remotely execute arbitrary code to attack an attack server. code line in 265: The query parameter is directly brought into the eval function.
payload: http://127.0.0.1/gridx-master/tests/support/stores/test_grid_filter.php?query=phpinfo();
This payload execution phpinfo();
fix: In php, the eval function is dangerous. It is not recommended to use it. If you must use it, you need to limit the incoming data.
The text was updated successfully, but these errors were encountered:
This is a test case that shouldn't be deployed to a live system anyway.
Sorry, something went wrong.
No branches or pull requests
hi,

We found a remote code execution vulnerability in gridx latest version that could allow an attacker to remotely execute arbitrary code to attack an attack server.
code line in 265: The query parameter is directly brought into the eval function.
payload:
http://127.0.0.1/gridx-master/tests/support/stores/test_grid_filter.php?query=phpinfo();
This payload execution phpinfo();
fix:
In php, the eval function is dangerous. It is not recommended to use it. If you must use it, you need to limit the incoming data.
The text was updated successfully, but these errors were encountered: