Skip to content
CVE-2026-135208 CrowdStrike LogScale · LogScale

Detect Kerberos Agent JWT Authentication Bypass via Hard-Coded Signing Key (CVE-2026-135208) in CrowdStrike LogScale

Detects exploitation of CVE-2026-135208, an authentication bypass in Kerberos.io Agent before v3.14.4. The JWTMiddleware (jwt_middleware.go) validates JWT tokens using a hard-coded signing secret (CWE-1394: Use of Default Cryptographic Key), allowing any unauthenticated attacker who knows the hard-coded key to forge a valid JWT asserting administrator identity. Forged tokens grant full access to the agent's HTTP admin API (camera config, recording, RTSP/ONVIF settings, system control). This detection surfaces anomalous authenticated access to the Kerberos Agent HTTP API: successful admin API calls from unexpected sources, token use without a preceding legitimate login, access to vulnerable versions, and configuration/credential-modifying actions indicative of post-exploitation. Because exploitation requires only a correctly-signed JWT, network and application logs are the primary telemetry; detection focuses on API access patterns rather than a specific malicious payload.

MITRE ATT&CK

Tactic
Initial Access Privilege Escalation Stealth

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
// df00tech DF00-38f835587e · https://df00tech.com/detections/CVE-2026-135208 · licence: https://df00tech.com/detections/licence
#event_simpleName=/^(DnsRequest|NetworkConnectIP4)$/ OR #repo="web_proxy"
| (uri_path=/\/api\/(config|users|system|settings|camera|stream)/i)
| http_status=/^(200|201|204)$/
| groupBy([src_ip, dest_host], function=([count(as=request_count), collect([http_method, uri_path]), min(@timestamp, as=first_seen), max(@timestamp, as=last_seen)]))
| request_count >= 1
| sort(request_count, order=desc)
high severity medium confidence

CrowdStrike LogScale/CQL query identifying successful privileged API calls to Kerberos Agent endpoints from source IPs, to highlight potential exploitation via forged administrator JWTs.

Data Sources

Web Proxy LogsNetwork Telemetry

Required Tables

web_proxy

False Positives & Tuning

  • Legitimate operator administration of agents
  • Automation/monitoring accounts polling the API
  • Health-check traffic from infrastructure

Other platforms for CVE-2026-135208


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Forge administrator JWT with hard-coded key and access admin API

    Expected signal: Web/proxy access log entry showing a GET /api/config with a Bearer token and a 200 response from the test source IP.

  2. Test 2 Enumerate privileged endpoints with forged token

    Expected signal: Multiple successful (200/204) authenticated requests to distinct /api/ endpoints from a single source IP within a short window.

  3. Test 3 Modify camera configuration via forged admin token

    Expected signal: Access log entry for a POST /api/config with a Bearer token returning 200/201/204 from the test source.


Response Playbook

Triage

  1. Confirm the targeted host is running Kerberos.io Agent and identify its version; any version before 3.14.4 is vulnerable to the hard-coded JWT signing key bypass.
  2. Review the source IP(s) making successful admin API calls and determine whether they belong to authorized management hosts. External or unrecognized sources making authenticated admin calls are high-priority.
  3. Inspect the JWT presented in Authorization headers (if captured): decode the payload and check issued-at/expiry timestamps and claimed identity. A valid admin token with no corresponding login event indicates forgery.
  4. Correlate the API access timeline against legitimate operator activity and known maintenance windows to rule out sanctioned administration.

Containment

  1. Upgrade all affected Kerberos Agent instances to v3.14.4 or later, which replaces the hard-coded signing key with a per-instance secret.
  2. Block or firewall the agent HTTP admin API so it is not reachable from untrusted networks; restrict to a management VLAN or VPN.
  3. If upgrade is not immediately possible, place the agent behind a reverse proxy that enforces independent authentication and rotate any secrets/credentials the agent stores.

Evidence Collection

  1. Preserve web server, reverse proxy, and agent HTTP access logs capturing the suspicious API requests, source IPs, and Authorization headers.
  2. Capture the current agent configuration, user list, and stored camera/RTSP credentials to establish what an attacker could have viewed or altered.
  3. Snapshot the host/container running the agent, including environment variables and the agent binary version, for forensic comparison.

Escalation Criteria

  • !Escalate to incident response if admin API calls that modify configuration, users, or credentials originate from an unauthorized source.
  • !Escalate if evidence shows camera streams, stored credentials, or RTSP/ONVIF settings were accessed or exfiltrated via forged tokens.
  • !Escalate if the agent is internet-exposed and vulnerable, given the critical unauthenticated bypass and potential for widespread automated exploitation.

Investigation Guide

Forensic Artifacts

  • >Web/reverse-proxy access logs showing authenticated admin API requests and their Authorization: Bearer headers
  • >Kerberos Agent application logs recording API actions (config changes, user edits, stream access)
  • >Agent configuration files and stored camera/RTSP/ONVIF credentials that may have been read or modified
  • >Container/host image and binary version metadata confirming a pre-3.14.4 vulnerable build

Tuning Guidance

Build an allowlist of authorized management hosts, automation accounts, and reverse-proxy/health-check source IPs, and exclude them from alerting. Narrow the API path list to the specific privileged endpoints exposed by your agent version. In environments where the agent API is reachable only from a dedicated management network, treat any external source as high severity and relax aggregation thresholds; where the API is broadly accessed, raise the request-count threshold and prioritize config/credential-modifying methods (POST/PUT/DELETE).


Hunting Queries

Baselines all successful authenticated calls to the agent API by source IP so analysts can isolate sources that do not match known management hosts.

Hunting — KQL
kql
// df00tech DF00-38f835587e · https://df00tech.com/detections/CVE-2026-135208 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem startswith "/api/" | where scStatus in ("200","201","204") | summarize calls=count(), paths=make_set(csUriStem) by cIP | where calls > 0 | order by calls desc
Hunting — SPL
spl
``` df00tech DF00-38f835587e · https://df00tech.com/detections/CVE-2026-135208 · licence: https://df00tech.com/detections/licence ```
index=web uri_path="/api/*" (status=200 OR status=201 OR status=204) | stats count AS calls values(uri_path) AS paths by src_ip | sort - calls

Atomic Red Team Tests

Test 1 Forge administrator JWT with hard-coded key and access admin API
linux

In a lab, mint a JWT signed with the known hard-coded secret used by the vulnerable jwt_middleware.go and call a privileged endpoint to confirm the bypass.

Command

bash
python3 -c "import jwt,time;print(jwt.encode({'sub':'admin','role':'admin','iat':int(time.time()),'exp':int(time.time())+3600}, 'hardcoded-secret-from-advisory', algorithm='HS256'))" > /tmp/forged.jwt; curl -s -H "Authorization: Bearer $(cat /tmp/forged.jwt)" http://127.0.0.1:8080/api/config

Cleanup

bash
rm -f /tmp/forged.jwt

Expected Telemetry

Web/proxy access log entry showing a GET /api/config with a Bearer token and a 200 response from the test source IP.

Expected Detection

The KQL/SPL API-access detections flag the successful authenticated admin API call from the test source.

Test 2 Enumerate privileged endpoints with forged token
linux

Use a forged token to sweep multiple admin API endpoints, simulating reconnaissance after bypass.

Command

bash
for p in /api/config /api/users /api/system /api/settings; do curl -s -o /dev/null -w "%{http_code} $p\n" -H "Authorization: Bearer $(cat /tmp/forged.jwt)" http://127.0.0.1:8080$p; done

Cleanup

bash
rm -f /tmp/forged.jwt

Expected Telemetry

Multiple successful (200/204) authenticated requests to distinct /api/ endpoints from a single source IP within a short window.

Expected Detection

Aggregation detections report a source IP hitting multiple privileged paths, exceeding the per-source path-diversity expectation.

Test 3 Modify camera configuration via forged admin token
linux

Simulate post-exploitation impact by issuing a config-changing POST with a forged administrator token.

Command

bash
curl -s -X POST -H "Authorization: Bearer $(cat /tmp/forged.jwt)" -H "Content-Type: application/json" -d '{"name":"atomic-test"}' http://127.0.0.1:8080/api/config

Cleanup

bash
curl -s -X POST -H "Authorization: Bearer $(cat /tmp/forged.jwt)" -H "Content-Type: application/json" -d '{"name":"original"}' http://127.0.0.1:8080/api/config; rm -f /tmp/forged.jwt

Expected Telemetry

Access log entry for a POST /api/config with a Bearer token returning 200/201/204 from the test source.

Expected Detection

The detections flag a config-modifying method (POST) to a privileged endpoint from an unauthorized source IP.

Related Detections