Ember: Unneutralised terminal escape/control sequences from Caddy logs injected into the operator's TUI
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| alexandre-daubois | ember | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Alexandre-daubois | Ember |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-x3g7-qrwc-f6c5 | Ember has unneutralized terminal escape/control sequences from Caddy logs injected into the operator's TUI |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.251% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Alexandre-daubois
Alexandre-daubois ember |
|
| Vendors & Products |
Alexandre-daubois
Alexandre-daubois ember |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Ember is a real-time terminal dashboard for Caddy servers with FrankenPHP support. Prior to 1.4.2, interactive TUI row formatters pass Caddy access-log fields, particularly the request URI, through the `fitCellLeft` render helper without neutralizing terminal escape or control sequences. An unauthenticated remote client can place ANSI, OSC, or CSI control bytes in an ordinary HTTP request target. Caddy JSON-escapes those bytes, `ParseLogLine` decodes them back into raw controls, and the formatters concatenate them into `View()` output reaching `os.Stdout`. When the operator views the default `Logs` tab, the terminal interprets these sequences, allowing monitoring-dashboard spoofing, clipboard hijacking through `OSC 52`, and window-title spoofing through `OSC 0/2`. This works even with a loopback-only log listener because the input arrives through normal Caddy access logs. `Certificates` and `Routes` share secondary unneutralized render sinks. The `--json`, `--once`, and daemon `--expose` modes are unaffected because they do not render an interactive terminal. Consequences depend on the terminal emulator and usually require further operator action to escalate; this is not general-purpose remote code execution. This issue is fixed in version 1.4.2. | |
| Title | Ember: Unneutralised terminal escape/control sequences from Caddy logs injected into the operator's TUI | |
| Weaknesses | CWE-150 | |
| References |
| |
| Metrics |
cvssV3_1
|