Improper Access Control Affecting xo-web package, versions *



    Exploit Maturity Proof of concept
    Attack Complexity Low
Expand this section
4.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-XOWEB-1316691
  • published 14 Jul 2021
  • disclosed 13 Jul 2021
  • credit @r3naissance

How to fix?

There is no fixed version for xo-web.


Affected versions of this package are vulnerable to Improper Access Control. Permissions enforcement through WebSockets are not thoroughly checked and can lead to an unprivileged user to obtain data only accessible by admin, such as VMs, Backups, Audit, Users, and Groups.

The WebSockets that control the application API allow access to certain elements based purely on the response. For example, an attacker could manipulate the response of the resourceSet.getAll method to cause the UI to expose admin-level data.