Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-17615

Опубликовано: 31 авг. 2026
Источник: redhat
CVSS3: 7.5

Описание

A flaw was found in RESTEasy's SourceProvider. This vulnerability allows an unauthenticated attacker to perform an unauthenticated remote file read. By sending a specially crafted XML body with a DOCTYPE declaration referencing external entities to an endpoint that accepts application/xml and returns Source or StreamSource, the server can be tricked into resolving the entity and including sensitive file contents in the HTTP response. This is due to the SourceProvider.writeTo() method creating a SAXParser without disabling external entity resolution, leading to an XML External Entity (XXE) vulnerability.

Отчет

Important: This flaw allows unauthenticated remote file disclosure due to improper XML external entity (XXE) resolution in RESTEasy's SourceProvider. An attacker can exploit this by sending a crafted XML request to an exposed endpoint that processes application/xml and returns Source or StreamSource types, leading to the disclosure of sensitive server-side files. This affects applications utilizing RESTEasy where endpoints are configured to accept XML input and return Source or StreamSource objects, potentially exposing sensitive data on Red Hat supported products.

Меры по смягчению последствий

To mitigate this issue, avoid exposing RESTEasy endpoints that return Source or StreamSource types. Alternatively, implement a custom MessageBodyWriter for Source types that explicitly applies XML security features to the SAXParserFactory before parsing. Changes to application configuration or code typically require an application redeployment or restart to take effect.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat build of Apache Camel 4 for Quarkus 3resteasy-coreAffected
Red Hat build of Apicurio Registry 3resteasy-coreAffected
Red Hat build of Debezium 3resteasy-coreAffected
Red Hat Enterprise Linux 8pki-core:10.6/resteasyWill not fix
Red Hat Enterprise Linux 8pki-deps:10.6/resteasyAffected
Red Hat Enterprise Linux 9resteasyAffected
Red Hat Fuse 7resteasy-coreNot affected
Red Hat JBoss Enterprise Application Platform 8resteasy-coreAffected
Red Hat JBoss Enterprise Application Platform Expansion Packresteasy-coreAffected
Red Hat Satellite 6candlepinNot affected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-611
https://bugzilla.redhat.com/show_bug.cgi?id=2507635resteasy-core: RESTeasy SourceProvider remote unauthenticated file read

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
21 день назад

A flaw was found in RESTEasy's SourceProvider. This vulnerability allows an unauthenticated attacker to perform an unauthenticated remote file read. By sending a specially crafted XML body with a DOCTYPE declaration referencing external entities to an endpoint that accepts application/xml and returns Source or StreamSource, the server can be tricked into resolving the entity and including sensitive file contents in the HTTP response. This is due to the SourceProvider.writeTo() method creating a SAXParser without disabling external entity resolution, leading to an XML External Entity (XXE) vulnerability.

CVSS3: 7.5
nvd
21 день назад

A flaw was found in RESTEasy's SourceProvider. This vulnerability allows an unauthenticated attacker to perform an unauthenticated remote file read. By sending a specially crafted XML body with a DOCTYPE declaration referencing external entities to an endpoint that accepts application/xml and returns Source or StreamSource, the server can be tricked into resolving the entity and including sensitive file contents in the HTTP response. This is due to the SourceProvider.writeTo() method creating a SAXParser without disabling external entity resolution, leading to an XML External Entity (XXE) vulnerability.

CVSS3: 7.5
debian
21 день назад

A flaw was found in RESTEasy's SourceProvider. This vulnerability allo ...

CVSS3: 7.5
github
21 день назад

A flaw was found in RESTEasy's SourceProvider. This vulnerability allows an unauthenticated attacker to perform an unauthenticated remote file read. By sending a specially crafted XML body with a DOCTYPE declaration referencing external entities to an endpoint that accepts application/xml and returns Source or StreamSource, the server can be tricked into resolving the entity and including sensitive file contents in the HTTP response. This is due to the SourceProvider.writeTo() method creating a SAXParser without disabling external entity resolution, leading to an XML External Entity (XXE) vulnerability.

7.5 High

CVSS3