Description
In OpenVSX version v0.9.0 to v0.20.0, the
/user/namespace/{namespace}/details API allows a user to edit all
namespace details, even if the user is not a namespace Owner or
Contributor. The details include: name, description, website, support
link and social media links. The same issues existed in
/user/namespace/{namespace}/details/logo and allowed a user to change
the logo.
Vulnerability type
CWE-283
Unverified Ownership
The product does not properly verify that a critical resource is owned by the proper entity.
Impact on systems
| Scope | Impact |
| Access Control |
Gain Privileges or Assume Identity An attacker could gain unauthorized access to system resources. |
How to prevent it
Architecture and Design · Operation
Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and Design · Separation of Privilege
Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.
All 42 CWE-283 CVEs, with trend and prevention