Telerik Report — 1 vulnerability check

noctis ships 1 vulnerability check for Telerik Report, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Progress Telerik Report Server unauthenticated registration

CVECVE-2024-4358
Severitycritical · CVSS 9.8
Categoryauth-bypass — Auth bypass
Serviceshttp, https
Detectionscript, set_var, http_request, match · highest QoD 75
Feedtests/vulnerabilities/telerik-report/CVE-2024-4358.yaml

Sends one unauthenticated POST to /Startup/Register with an empty username, an invalid e-mail address and mismatched passwords, so no account can be created. A vulnerable Report Server still runs the first-time-setup registration action and answers the registration form with its validation errors (HTTP 200, ConfirmPassword field), proving the setup endpoint is reachable after setup. A fixed server does not render that form. Nothing is written on the target.

How noctis detects it

  1. Parses / computes the next value with a Rhai script
  2. HTTP(S) request POST /Startup/Register with a crafted body
  3. Checks reg_resp.body for (?i)name="ConfirmPassword" → finding QoD 75: Telerik Report Server registration endpoint reachable without authentication (CVE-2024-4358)

References:

Feed source — tests/vulnerabilities/telerik-report/CVE-2024-4358.yaml
# Progress Telerik Report Server Authentication Bypass — CVE-2024-4358
#
# The /Startup/Register action is meant for first-time setup but stays
# reachable without authentication on an already-configured server, so an
# attacker can register a System Administrator account and get a bearer token
# from /Token (chained with CVE-2024-1800 for RCE). CISA KEV-listed.
# Affected: 2024 Q1 (10.0.24.305) and earlier; fixed in 2024 Q2 (10.1.24.514).
#
# Benign proof (no account is ever created): the probe POSTs the registration
# form with an EMPTY Username, a malformed Email and a ConfirmPassword that does
# not match Password. The Register action checks ModelState.IsValid before
# calling UserManager.Create, and ASP.NET Identity also refuses an empty user
# name, so the request cannot create anything. A vulnerable server runs the
# action and re-renders the registration form with its validation errors
# (HTTP 200 + the ConfirmPassword field); a fixed server (or one with the
# vendor's URL Rewrite block on startup/register) never renders that form.
# Assumption (no real appliance at hand): the action re-renders its Razor view
# on invalid input (`return View(model)`, ASP.NET MVC convention); a miss is a
# false negative, never a write. A fresh install whose setup was never
# completed also shows the form and is reported — it is equally takeover-able.
#
# Earlier versions of this feed registered `noctis_probe` with a fixed public
# password and requested a token with it, leaving a System Administrator
# backdoor on every vulnerable host (issue #2418).
uid: a3e7c1f9-6d4b-4a8e-b2c5-9f0d3e7a1b4c
name: "Progress Telerik Report Server unauthenticated registration (CVE-2024-4358)"
description: |
  Sends one unauthenticated POST to /Startup/Register with an empty username, an
  invalid e-mail address and mismatched passwords, so no account can be created.
  A vulnerable Report Server still runs the first-time-setup registration action
  and answers the registration form with its validation errors (HTTP 200,
  ConfirmPassword field), proving the setup endpoint is reachable after setup.
  A fixed server does not render that form. Nothing is written on the target.
cves: [CVE-2024-4358]
cvss: 9.8
severity: critical
category: auth-bypass
confidence_base: 0.20
tags: [telerik, report-server, auth-bypass, kev]
services: [http, https]
author: noctis
version: "1.1.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2024-4358"
  - "https://docs.telerik.com/report-server/knowledge-base/registration-auth-bypass-cve-2024-4358"
  - "https://summoning.team/blog/progress-report-server-rce-cve-2024-4358-cve-2024-1800/"
  - "https://github.com/sinsinology/CVE-2024-4358"

steps:
  - id: rand
    action: script
    code: |
      #{ a: rand_str(12), b: rand_str(12) }
    store_as: rv

  - id: init-reg
    action: set_var
    var_name: reg_resp
    var_value: false

  # Empty Username + malformed Email + Password != ConfirmPassword: rejected by
  # model validation (and by Identity's user validator) before any write.
  - id: register-invalid
    action: http_request
    method: POST
    path: "/Startup/Register"
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    timeout_secs: 10
    headers:
      Content-Type: "application/x-www-form-urlencoded"
    body: "Username=&Password={{rv.a}}&ConfirmPassword={{rv.b}}&Email=not-an-email&FirstName=&LastName="
    store_as: reg_resp

  - id: confirm
    action: match
    source: reg_resp.body
    pattern: "(?i)name=\"ConfirmPassword\""
    condition: "type_of(reg_resp) == \"map\" && reg_resp.status == 200"
    on_match:
      finding:
        title: "Telerik Report Server registration endpoint reachable without authentication (CVE-2024-4358)"
        confidence_delta: 0.55
        qod: 75
        evidence: "Unauthenticated POST /Startup/Register (invalid form, no account created) was processed by the setup registration action: HTTP {{reg_resp.status}} with the registration form re-rendered"
      stop: true

View these feeds on GitHub