CVE-2025-21589 IBM QRadar · QRadar

Detect Juniper Session Smart Router Authentication Bypass (CVE-2025-21589) in IBM QRadar

CVE-2025-21589 is a critical authentication bypass vulnerability (CWE-288, CVSS 9.8) in Juniper Networks Session Smart Router, Session Smart Conductor, and WAN Assurance Managed Router. An unauthenticated remote attacker can bypass authentication mechanisms to gain administrative access to the management interface without valid credentials. Affected versions include SSR 5.6.7–5.6.16, 6.0.x before 6.0.8, 6.1.x before 6.1.12-lts, 6.2.x before 6.2.8-lts, and 6.3.x before 6.3.3-r2. Exploitation grants full control of affected routers and conductors, enabling lateral movement, traffic interception, configuration tampering, and persistent backdoor establishment.

MITRE ATT&CK

Tactic
Initial Access Persistence Defense Evasion

QRadar Detection Query

IBM QRadar (QRadar)
sql
SELECT
  DATEFORMAT(starttime, 'YYYY-MM-dd HH:mm:ss') AS event_time,
  sourceip,
  destinationip,
  destinationport,
  username,
  eventcount,
  CATEGORYNAME(category) AS event_category,
  LOGSOURCENAME(logsourceid) AS log_source,
  "devicevendor",
  "deviceproduct",
  URL,
  "HTTP_USER_AGENT"
FROM events
WHERE
  LAST 24 HOURS
  AND (
    LOWER("devicevendor") LIKE '%juniper%'
    OR LOWER("deviceproduct") LIKE '%session smart%'
    OR LOWER("deviceproduct") LIKE '%ssr%'
    OR LOWER("deviceproduct") LIKE '%conductor%'
  )
  AND (
    destinationport IN (80, 443, 830, 8080, 8443, 4505, 4506)
    OR LOWER(URL) LIKE '%/api/v1%'
    OR LOWER(URL) LIKE '%/conductor%'
    OR LOWER(URL) LIKE '%/admin%'
  )
  AND (
    LOWER("HTTP_USER_AGENT") LIKE '%python%'
    OR LOWER("HTTP_USER_AGENT") LIKE '%curl%'
    OR LOWER("HTTP_USER_AGENT") LIKE '%wget%'
    OR LOWER("HTTP_USER_AGENT") LIKE '%go-http%'
    OR category IN (5018, 5019, 5021)
  )
GROUP BY sourceip, destinationip, destinationport
HAVING COUNT(*) >= 3
ORDER BY eventcount DESC
critical severity medium confidence

QRadar AQL query correlating authentication-related events, management port access, and suspicious HTTP clients against Juniper device log sources to surface potential CVE-2025-21589 exploitation attempts.

Data Sources

Juniper NSMSyslog from SSR/ConductorNetwork flow dataQRadar DSM for Juniper

Required Tables

events

False Positives & Tuning

  • Security monitoring tools with non-browser HTTP clients performing legitimate Juniper API health checks
  • Configuration management platforms (Ansible, Salt) accessing management endpoints
  • Scheduled automation accessing Juniper REST APIs for telemetry or reporting
  • Network operations center tools polling multiple Juniper devices from a single management IP

Other platforms for CVE-2025-21589


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 available with Pro.

  1. Test 1Unauthenticated REST API Enumeration Against SSR Management Interface

    Expected signal: Multiple HTTP GET requests to management API paths from a single source IP within seconds; HTTP 200 or 401 responses logged in SSR access logs; no authentication token in request headers

  2. Test 2Authentication Bypass Attempt via Malformed Session Token

    Expected signal: Authentication audit events showing requests with malformed or absent credentials; REST API logs showing 200-series responses to authenticated endpoints without valid session; source IP making multiple rapid unauthenticated requests

  3. Test 3Post-Bypass Administrative Account Creation Simulation

    Expected signal: New user creation event in Juniper audit log; REST API POST to /api/v1/users followed by successful 201 response; new admin account appearing in user enumeration

Unlock Pro Content

Get the full detection package for CVE-2025-21589 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections