OSSN-0088: Some of the Glance metadef APIs likely to leak resources

Summary

Metadef APIs are vulnerable and potentially leaking information to unauthorized users and also there is currently no limit on creation of metadef namespaces, objects, properties, resources and tags. This can be abused by malicious users to fill the Glance database resulting in a Denial of Service (DoS) condition.

Affected Services / Software

Glance, Horizon

Discussion

There is no restriction on creation of metadef namespaces, objects, properties, resources and tags as well as it could also leak the information to unauthorized users or to the users outside of the project. By taking advantage of this lack of restrictions around metadef APIs, a single user could fill the Glance database by creating unlimited resources, resulting in a Denial Of Service (DoS) style attack.

Glance does allow metadef APIs to be controlled by policy. However, the default policy setting for metadef APIs allows all users to create or read the metadef information.

Because metadef resources are not properly isolated to the owner, any use of them with potentially sensitive names (such as internal infrastructure details, customer names, etc) could unintentionally expose that information to a malicious user.

Contacts / References

Author: Abhishek Kekane (Red Hat), Lance Bragstad (Red Hat)