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

exploitDog

github логотип

GHSA-695c-x5gc-94gj

Опубликовано: 27 апр. 2026
Источник: github
Github: Прошло ревью
CVSS3: 10

Описание

Apache camel-coap allows header injection that can lead to remote code execution

Apache Camel's camel-coap component is vulnerable to header injection because it maps CoAP request URI query parameters directly into Camel message headers without applying a HeaderFilterStrategy. An unauthenticated attacker can send a crafted CoAP request to inject arbitrary Camel internal headers into the exchange.

When a vulnerable route forwards that exchange to a header-sensitive downstream producer, the attacker may be able to control producer behavior. For example, in routes using camel-exec, injected headers can override the configured executable and arguments, which can result in arbitrary command execution with the privileges of the Camel process. Command output may be returned to the attacker in the CoAP response.

This issue affects org.apache.camel:camel-coap from 4.14.0 through 4.14.5 and from 4.18.0 before 4.18.1. It is fixed in 4.14.6, 4.18.1, and 4.19.0.

Пакеты

Наименование

org.apache.camel:camel-coap

maven
Затронутые версииВерсия исправления

>= 4.14.0, <= 4.14.5

4.14.6

Наименование

org.apache.camel:camel-coap

maven
Затронутые версииВерсия исправления

>= 4.18.0, < 4.18.1

4.18.1

EPSS

Процентиль: 93%
0.06157
Низкий

10 Critical

CVSS3

Дефекты

CWE-915

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

CVSS3: 8.1
redhat
4 месяца назад

Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Apache Camel Camel-Coap component. Apache Camel's camel-coap component is vulnerable to Camel message header injection, leading to remote code execution when routes forward CoAP requests to header-sensitive producers (e.g. camel-exec) The camel-coap component maps incoming CoAP request URI query parameters directly into Camel Exchange In message headers without applying any HeaderFilterStrategy.   Specifically, CamelCoapResource.handleRequest() iterates over OptionSet.getUriQuery() and calls camelExchange.getIn().setHeader(...) for every query parameter. CoAPEndpoint extends DefaultEndpoint rather than DefaultHeaderFilterStrategyEndpoint, and CoAPComponent does not implement HeaderFilterStrategyComponent; the component contains no references to HeaderFilterStrategy at all. As a result, an unauthenticated attacker who can send a single CoAP UDP packet to a Camel route consuming from coa...

CVSS3: 10
nvd
4 месяца назад

Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Apache Camel Camel-Coap component. Apache Camel's camel-coap component is vulnerable to Camel message header injection, leading to remote code execution when routes forward CoAP requests to header-sensitive producers (e.g. camel-exec) The camel-coap component maps incoming CoAP request URI query parameters directly into Camel Exchange In message headers without applying any HeaderFilterStrategy.   Specifically, CamelCoapResource.handleRequest() iterates over OptionSet.getUriQuery() and calls camelExchange.getIn().setHeader(...) for every query parameter. CoAPEndpoint extends DefaultEndpoint rather than DefaultHeaderFilterStrategyEndpoint, and CoAPComponent does not implement HeaderFilterStrategyComponent; the component contains no references to HeaderFilterStrategy at all. As a result, an unauthenticated attacker who can send a single CoAP UDP packet to a Camel route consuming from coa

CVSS3: 10
fstec
5 месяцев назад

Уязвимость функции CamelCoapResource.handleRequest() компонента camel-coap java-фреймворка Apache Camel, позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 93%
0.06157
Низкий

10 Critical

CVSS3

Дефекты

CWE-915