Umbraco Delivery API allows for cached requests to be returned with an invalid API key
链接: https://github.com/advisories/GHSA-75vq-qvhr-7ffr
仓库 Star: 4908
CVSS 评分: 5.3
参考链接:
描述:
Impact
Umbraco’s content delivery API can be restricted from public access such that an API key must be provided in a header to authorize the request.
It’s also possible to configure output caching, such that the delivery API outputs will be cached for a period of time, improving performance.
There’s an issue when these two things are used together though in that the caching doesn’t vary by the header that contains the API key. As such it’s possible for a user without a valid API key to retrieve a response for a given path and query if it has recently been requested and cached by request with a valid key.
Patches
Patches will be available in 13.9.3, 15.4.4 and 16.1.1.
Workarounds
Workaround is to remove or reduce the time period of the output caching or to provide other restrictions to access the delivery API such as by IP.
References
Content delivery API documentation: https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api