Jaxp13XPathTemplate оценивал выражения XPath для входных данных StreamSource и SAXSource, используя путь кода, который анализировал XML, контролируемый злоумышленником, с помощью поведения DocumentBuilderFactory по умолчанию JDK вместо жесткой конфигурации синтаксического анализатора Spring. Таким образом, приложения, которые оценивают XPath на основе ненадежных полезных данных XML, могут подвергаться атакам в стиле XML external Entity (XXE).
Затронутые версии:
Spring Web Services версий с 5.0.0 по 5.0.1; с 4.1.0 по 4.1.3; версии с 4.0.0 по 4.0.18; 3.1.0–3.1.8.
Показать оригинальное описание (EN)
Jaxp13XPathTemplate evaluated XPath expressions for StreamSource and SAXSource inputs using a code path that parsed attacker-controlled XML with the JDK's default DocumentBuilderFactory behavior instead of Spring's hardened parser configuration. Applications that evaluate XPath against untrusted XML payloads could therefore be exposed to XML External Entity (XXE) style attacks. Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Broadcom Spring_Web_Services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
|
— |
3.1.9
|
|
Broadcom Spring_Web_Services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
|
4.0.0
|
4.0.19
|
|
Broadcom Spring_Web_Services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
|
4.1.0
|
4.1.3.1
|
|
Broadcom Spring_Web_Services
cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
|
5.0.0
|
5.0.1.1
|