Skip to content
KitploitKITPLOIT
ИнструментыЭксплойтыБлог
Log in
Отправить
ИнструментыЭксплойтыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

ЛентыКонтактыКонфиденциальность© 2026 Kitploit

Каталог инструментов

Категории

Все категории
Loading categories
CVE-2026-85251 — Reproducer for CVE-2026-85251 — Apache Camel camel-http credential disclosure on redirect (CWE-200); Spring Boot, affected vs fixed | Kitploit
Инструменты/GitHubGitHub/oscerd/cve-2026-85251
Authentication & AuthorizationWeb Application ExploitationLabs & Practice
GitHuboscerd/cve-2026-85251

CVE-2026-85251

Reproducer for CVE-2026-85251 — Apache Camel camel-http credential disclosure on redirect (CWE-200); Spring Boot, affected vs fixed

Репозиторий
1 месяц назадПроверено Kitploit
Поделиться
Контент недоступен на запрошенном языке. Показываем английскую версию.

CVE-2026-85251 — camel-http: credential disclosure on redirect

Runnable proof-of-concept reproducer for the Apache Camel vulnerability where, with followRedirects enabled, the Authorization header was re-attached to whatever host the Location header named, so the remote server chose which host received the credentials. Two paths were affected: the OAuth2 interceptor (registered with addRequestInterceptorFirst, which HttpClient runs inside ProtocolExec, below RedirectExec) re-attached Authorization: Bearer <token> on every redirect hop; and basic/digest credentials were registered against an AuthScope matching any host, so they were offered to a redirect target too. A remote endpoint — or anyone who can influence its responses — could collect the bearer token or configured credentials simply by answering with a redirect to a host it controls.

Spring Boot only. This reproducer ships a single Camel Spring Boot module. The flaw is in the camel-http component, which also has a camel-quarkus-http extension; but in that extension's JVM packaging the endpoint-level oauth2* client options and followRedirects are not applied the way they are under Spring Boot (the OAuth2 token endpoint is never called and the redirect is not followed), so the cross-host credential leak cannot be driven through it. The Spring Boot module demonstrates the affected and the fixed behaviour.

RuntimeDirectoryStack
Camel Spring Bootcamel-spring-boot/Spring Boot 3.5.13 + camel-http 4.22.0 (affected; fixed 4.22.1)

What it demonstrates

Two throwaway HTTP servers model the attack. The origin (localhost:8091) is the authority the route is configured to call with credentials: it issues an OAuth2 bearer token at /token and answers /start with a 302 redirect to the attacker (127.0.0.1:8092 — a different authority the origin chose). The attacker's /steal handler records any Authorization header it receives. The route calls /start with oauth2* options and followRedirects=true.

  • Affected: the bearer token is re-attached to the redirect target, so the attacker host receives Authorization: Bearer <token>.
  • Fixed: the token is only sent to the configured authority; the attacker host receives no Authorization header.
cd camel-spring-boot
mvn clean package
docker compose up -d --build
curl -s http://localhost:8080/exploit/attack     # affected: attacker receives the bearer token; >>> PROVEN
docker compose down
# Patched control
mvn clean package -Dcamel.version=4.22.1
java -jar target/cve-2026-85251-http-redirect-credential-leak-0.0.1-SNAPSHOT.jar &
curl -s http://localhost:8080/exploit/attack     # fixed: no Authorization at the attacker; >>> Not exploited

Vulnerability Summary

PropertyValue
Componentcamel-http (OAuth2ClientConfigurer, DefaultAuthenticationHttpClientConfigurer)
CWECWE-200 (Exposure of Sensitive Information to an Unauthorized Actor)
SeverityHIGH
Attack vectorA remote endpoint (or anyone who can influence its responses) answering a credentialed request with a redirect to a host it controls, with followRedirects=true
ImpactDisclosure of the OAuth2 bearer token or configured basic/digest credentials to an attacker-chosen host
Affected VersionsFrom 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1
Fixed Versions4.18.5, 4.22.1, 4.23.0
JIRACAMEL-24452
CreditClaude Security Scan Tool

Advisory: https://camel.apache.org/security/CVE-2026-85251.html

The fix

The fix scopes credentials to the authority the endpoint was configured with. OAuth2ClientConfigurer now attaches the bearer token only when the request URI matches the target authority (so the interceptor, which re-runs per redirect hop, no longer re-attaches it to the Location host). DefaultAuthenticationHttpClientConfigurer registers basic/digest credentials against the configured scheme/host/port rather than an any-host AuthScope, so they are not offered to a redirect target.

Mitigation if you cannot upgrade

Set followRedirects=false on endpoints that carry credentials, and handle any redirect explicitly in the route so the destination is chosen by the route rather than by the remote server.

Disclaimer

This repository is published for educational and defensive purposes: to help Apache Camel users understand the vulnerability, verify whether they are affected, and confirm that upgrading resolves it. The bearer token, client credentials and both servers are inert local fixtures. Do not use this material against systems you do not own or operate.

Скачать инструмент

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

  • 1

    Callisto

    jetp1ane/callisto

    Автоматизированный инструмент анализа уязвимостей бинарных файлов, который декомпилирует исполняемые файлы с помощью Ghidra, сканирует псевдо-C код с помощью Semgrep и проверяет находки с использованием GPT-3.5-Turbo для уменьшения ложных срабатываний.

    1.7k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Приложение GhostLock с запуском в один клик (CVE-2026-43499)

    988
  • 3

    wifit3

    derv82/wifit3

    Wifite, но только через USB и кроссплатформенный.

    636
  • 4

    OsintHunter

    letox4/osinthunter

    🎯 Полный набор инструментов OSINT: граф расследования, оценка достоверности, семейства псевдонимов, карта, временная шкала и отчёты. 49 модулей, более 400 сайтов, API-ключи не требуются.

    492
  • 5

    DFRoot

    a2333c/dfroot

    Инструмент для получения root-прав на Android для Samsung Galaxy S25 Ultra (SM-S938B), который объединяет DirtyFrag CVE-2026-43284 и CVE-2026-43499 для автоматического получения root-прав при загрузке через KernelSU.

    363
  • 6

    mcp-reverse

    1llu50ry/mcp-reverse

    MCP-сервер, предоставляющий более 180 инструментов обратного проектирования, которые объединяют Ghidra, IDA, x64dbg, Frida и 56 других бэкендов с нативными парсерами бинарных файлов и базой знаний из 4200 навыков.

    311

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →