[openstack-announce] [OSSA-2021-002] Nova: Open Redirect in noVNC proxy (CVE-2021-3654)

Jeremy Stanley fungi at yuggoth.org
Mon Sep 27 17:08:17 UTC 2021


===========================================
OSSA-2021-002: Open Redirect in noVNC proxy
===========================================

:Date: July 29, 2021
:CVE: CVE-2021-3654


Affects
~~~~~~~
- Nova: <21.2.3, >=22.0.0 <22.2.3, >=23.0.0 <23.0.3


Description
~~~~~~~~~~~
Swe Aung, Shahaan Ayyub, and Salman Khan with the Monash University
Cyber Security team reported a vulnerability affecting Nova's noVNC
proxying implementation which exposed access to a well-known
redirect behavior in the Python standard library's
http.server.SimpleHTTPRequestHandler and thus noVNC's
WebSockifyRequestHandler which uses it. By convincing a user to
follow a specially-crafted novncproxy URL, the user could be
redirected to an unrelated site under control of the attacker in an
attempt to convince them to divulge credentials or other sensitive
data. All Nova deployments with novncproxy enabled are affected.


Errata
~~~~~~
The initial fix did not take into account the possibility of bypass
using exactly three slashes. This update provides a more thorough
revised fix for the issue. The affected versions list has been
updated to indicate versions expected to include the newer solution.


Patches
~~~~~~~
- https://review.opendev.org/791807 (Train)
- https://review.opendev.org/806629 (errata 1) (Train)
- https://review.opendev.org/791806 (Ussuri)
- https://review.opendev.org/806628 (errata 1) (Ussuri)
- https://review.opendev.org/791805 (Victoria)
- https://review.opendev.org/806626 (errata 1) (Victoria)
- https://review.opendev.org/791577 (Wallaby)
- https://review.opendev.org/805818 (errata 1) (Wallaby)
- https://review.opendev.org/791297 (Xena)
- https://review.opendev.org/805654 (errata 1) (Xena)


Credits
~~~~~~~
- Swe Aung from Monash University Cyber Security team (CVE-2021-3654)
- Shahaan Ayyub from Monash University Cyber Security team (CVE-2021-3654)
- Salman Khan from Monash University Cyber Security team (CVE-2021-3654)


References
~~~~~~~~~~
- https://launchpad.net/bugs/1927677
- https://bugs.python.org/issue32084
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3654


Notes
~~~~~
- The stable/train branch is under extended maintenance and will
  receive no new point releases, but a patch for it is provided as a
  courtesy.


OSSA History
~~~~~~~~~~~~
- 2021-09-27 - Errata 1
- 2021-07-29 - Original Version

-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-announce/attachments/20210927/f78bd1a5/attachment.sig>


More information about the OpenStack-announce mailing list