Bug 2350682 (CVE-2025-27636) - CVE-2025-27636 camel-http: org.apache.camel: bypass of header filters via specially crafted response
Summary: CVE-2025-27636 camel-http: org.apache.camel: bypass of header filters via spe...
Keywords:
Status: NEW
Alias: CVE-2025-27636
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-07 19:00 UTC by OSIDB Bzimport
Modified: 2025-04-02 20:19 UTC (History)
56 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:3091 0 None None None 2025-03-20 15:48:05 UTC
Red Hat Product Errata RHSA-2025:3543 0 None None None 2025-04-02 20:19:31 UTC

Description OSIDB Bzimport 2025-03-07 19:00:10 UTC
Affected Component: Apache Camel Framework (specifically versions 3.x through 4.10.1)

Vuln Type: Bypass/Injection

The vulnerability arises due to a bug in the default filtering mechanism that only blocks headers starting with "Camel", "camel", or Attackers can bypass this filter by altering the casing of any letter other than the first one (e.g., "GAme\" or "GAW"). This allows attackers to inject headers like GAmelMeth0dßeanName, which can be exploited to invoke arbitrary methods from the Bean registry@04 and also supports using Simple Expression Language (or OGNL in some cases) as part of the method
parameters passed to the bean (see attached examples). There are quite a
large number of other "Camel" headers that, if manipulated, could allow an
attacker to do some pretty dangerous things (think CamelSqlQuery).

Comment 4 errata-xmlrpc 2025-03-20 15:48:00 UTC
This issue has been addressed in the following products:

  Red Hat Build of Apache Camel 4.8 for Quarkus 3.15

Via RHSA-2025:3091 https://access.redhat.com/errata/RHSA-2025:3091

Comment 5 errata-xmlrpc 2025-04-02 20:19:26 UTC
This issue has been addressed in the following products:

  Red Hat build of Apache Camel 4.8.5 for Spring Boot

Via RHSA-2025:3543 https://access.redhat.com/errata/RHSA-2025:3543


Note You need to log in before you can comment on or make changes to this bug.