Приложения Spring MVC и WebFlux уязвимы к отравлению кеша при разрешении статических ресурсов.
Точнее, приложение может быть уязвимым, если выполняются все следующие условия:
* приложение использует Spring MVC или Spring WebFlux.
* приложение настраивает поддержку цепочки ресурсов https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title с включенным кэшированием.
* в приложении добавлена поддержка разрешения закодированных ресурсов
* кэш ресурсов должен быть пуст, когда злоумышленник имеет доступ к приложению
При выполнении всех вышеперечисленных условий злоумышленник может отправлять вредоносные запросы и отравлять кэш ресурсов ресурсами, использующими неверную кодировку. Это может привести к отказу в обслуживании из-за поломки клиентского приложения.
Показать оригинальное описание (EN)
Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources. More precisely, an application can be vulnerable when all the following are true: * the application is using Spring MVC or Spring WebFlux * the application is configuring the resource chain support https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title with caching enabled * the application adds support for encoded resources resolution * the resource cache must be empty when the attacker has access to the application When all the conditions above are met, the attacker can send malicious requests and poison the resource cache with resources using the wrong encoding. This can cause a denial of service by breaking the front-end application for clients.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Vmware Spring_Framework
cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
|
— |
5.3.48
|
|
Vmware Spring_Framework
cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
|
6.1.0
|
6.1.27
|
|
Vmware Spring_Framework
cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
|
6.2.0
|
6.2.18
|
|
Vmware Spring_Framework
cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
|
7.0.0
|
7.0.7
|