All reports
Critical

DotVVM: Missing authorization in AuthorizeActionFilter

Affected versions

NuGetdotvvm
Affected versions
< 4.2.11
Fixed version
4.2.11
NuGetdotvvm
Affected versions
> 4.3.0-preview01-final, < 4.3.15
Fixed version
4.3.15
NuGetdotvvm
Affected versions
>= 5.0.0-preview01-final, < 5.0.0-preview09-final
Fixed version
5.0.0-preview09-final

Description

Impact

All users of the AuthorizeActionFilter class are affected. The AuthorizeActionFilter simply does nothing, no “hacking” is needed to bypass the filter.

Patches

DotVVM 4.3.15, 4.2.11 and 5.0.0-preview09 fix this.

Workarounds

As a workaround, you can use the AuthorizeAttribute instead. It implements the same interfaces (correctly). Note that is it deprecated for unrelated reasons, feel free to suppress the warning when using it as action filter.

Links