In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Command Injection vulnerabilities in an interactive lesson.
Start learningUpgrade activestorage
to version 7.1.5.2, 7.2.2.2, 8.0.2.1 or higher.
Affected versions of this package are vulnerable to Arbitrary Command Injection due to untrusted user input being accepted as transformation methods or parameters. An attacker can execute arbitrary commands on the server by supplying crafted input that circumvents safe defaults.
Note:
This is exploitable if the application uses both the image_processing gem
and mini_magick
as the image processor, and accepts arbitrary user input for transformation methods or parameters.
This vulnerability can be mitigated by strictly validating user-supplied methods and parameters and deploying a strong ImageMagick security policy.