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 Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerabilities in an interactive lesson.
Start learningUpgrade org.springframework.hateoas:spring-hateoas to version 3.0.7, 3.1.4 or higher.
Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes in the PropertyUtils class, whose reflection-based binder for Collection+JSON and UBER request bodies resolves writable setters while honoring only @JsonIgnore, ignoring @JsonProperty(access = READ_ONLY). A user can modify a property the application intended to be read-only by sending a Collection+JSON or UBER payload whose field names that property, when the body is bound directly onto a domain type with a read-only property that has a setter. HAL and HAL-FORMS are not affected, the same payload sent as application/json is handled correctly, and applications binding to input DTOs without read-only properties are not affected.
This vulnerability can be avoided by removing application/vnd.collection+json and application/vnd.uber+json from @EnableHypermediaSupport, or by binding request bodies to a dedicated input DTO instead of the domain type.