Apache Struts JVN#82782759: @JsonAnySetter authorization bypass
JVN disclosed a medium-severity flaw in the Apache Struts 7.2.1–7.3.0 REST plugin where @StrutsParameter checks are not applied to fields accepted via @JsonAnySetter, allowing data tampering. Mitigation requires upgrading to 7.4.0 and enabling struts.rest.anySetter.requireAnnotations=true.
- Affected: Apache Struts 7.2.1–7.3.0 with the REST plugin and Jackson
- @StrutsParameter checks do not cover @JsonAnySetter fields
- Fix needs 7.4.0+ and struts.rest.anySetter.requireAnnotations=true
- Dynamic keys require @StrutsParameter(allowDynamicKeys = true)
Read next
Security