Bug 1668531 (CVE-2019-0542)
| Summary: | CVE-2019-0542 xterm.js: Mishandling of special characters allows for remote code execution | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Sam Fowler <sfowler> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | ahardin, aos-bugs, bleanhar, bmontgom, bpeterse, ccoleman, dedgar, eparis, jburrell, jgoulding, jokerman, mchappel, nstielau, sponnaga |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | xtermjs 3.8.1, xtermjs 3.9.2, xtermjs 3.10.1 | Doc Type: | If docs needed, set a value |
| Doc Text: |
It was found that xterm.js does not sanitize terminal escape sequences in browser terminals allowing for execution of arbitrary commands. An attacker could exploit this by convincing a user with a xterm.js browser terminal to display an escape sequence by, for example, reading a from a log file containing attacker-controlled input.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-10 22:58:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1668235, 1671631, 1689101, 1689102, 1707211 | ||
| Bug Blocks: | 1668532 | ||
|
Description
Sam Fowler
2019-01-23 02:44:42 UTC
Upstream Patches: https://github.com/xtermjs/xterm.js/commit/50abb43e https://github.com/xtermjs/xterm.js/commit/eeca95b6 https://github.com/xtermjs/xterm.js/commit/f3bfcc36 https://github.com/xtermjs/xterm.js/commit/3592c641 Statement: This issue affects both the atomic-openshift-web-console RPM and openshift3/ose-console container image shipped in OpenShift Container Platform. These components provide a web console for opening in-browser terminals in cluster pods. Successful exploitation of this issue would require an attacker to convince an authorized user to open an in-browser terminal on a target pod and execute a command that prints attacker-controlled input. Red Hat Product Security have rated this issue as having security impact of Moderate. A future update may address this issue. This issue has been addressed in the following products: Red Hat OpenShift Container Platform 3.11 Via RHSA-2019:1422 https://access.redhat.com/errata/RHSA-2019:1422 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 3.10 Via RHSA-2019:2552 https://access.redhat.com/errata/RHSA-2019:2552 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 3.9 Via RHSA-2019:2551 https://access.redhat.com/errata/RHSA-2019:2551 |