CVE-2017-18635
Cross-Site Scripting in @novnc/novnc
Auswirkung
Versions of `@novnc/novnc` prior to 0.6.2 are vulnerable to Cross-Site Scripting (XSS). The package fails to validate input from the remote VNC server such as the VNC server name. This allows an attacker in control of the remote server to execute arbitrary JavaScript in the noVNC web page. It affects any users of `include/ui.js` and users of `vnc_auto.html` and `vnc.html`. ## Recommendation Upgrade to version 0.6.2 or later.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | @novnc/novnc | < 0.6.2 | 0.6.2 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Canonical | Ubuntu Linux | Version 16.04 |
| Debian | Debian Linux | Versionen 8.0, 9.0 |
| Novnc | Novnc | vor 0.6.2 |
| Red Hat | Openstack | Version 13 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://access.redhat.com/errata/RHSA-2020:0754
- https://bugs.launchpad.net/horizon/+bug/1656435
- https://github.com/ShielderSec/cve-2017-18635
- https://github.com/novnc/noVNC/commit/6048299a138e078aed210f163111698c8c526a13#diff-286f7dc7b881e942e97cd50c10898f03L534
- https://github.com/novnc/noVNC/issues/748
- https://github.com/novnc/noVNC/releases/tag/v0.6.2
- https://lists.debian.org/debian-lts-announce/2019/10/msg00004.html
- https://lists.debian.org/debian-lts-announce/2021/12/msg00024.html
- https://usn.ubuntu.com/4522-1/
- https://www.shielder.it/blog/exploiting-an-old-novnc-xss-cve-2017-18635-in-openstack/
- https://github.com/advisories/GHSA-49rv-g7w5-m8xx
- https://nvd.nist.gov/vuln/detail/CVE-2017-18635
- https://www.npmjs.com/advisories/1204
- https://snyk.io/vuln/SNYK-JS-NOVNCNOVNC-469136