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 Incorrect Authorization vulnerabilities in an interactive lesson.
Start learningUpgrade avo to version 3.32.0, 4.0.0.beta.41 or higher.
Affected versions of this package are vulnerable to Incorrect Authorization in the Avo::AttachmentsController#create process. An attacker can modify or replace attachment content, including binary data, filename, and content-type metadata, by directly accessing the upload endpoint and bypassing field-level and record-level authorization policies. This is only exploitable if the deployment allows authenticated users with restricted roles to access the upload endpoint while relying on per-record or per-field policies to restrict such actions.
This vulnerability can be mitigated by overriding or monkey-patching the Avo::AttachmentsController#create process to enforce upload authorization before blob creation.