AlchemyCMS alchemy_cms
Alchemy: Unauthenticated nested page API leaks restricted & unpublished content
Alchemy is an open source content management system engine written in Ruby on Rails. Prior to 7.4.15, 8.0.15, 8.1.14, and 8.2.6, the unauthenticated GET /api/pages/nested endpoint implemented by Api::PagesController#nested in app/controllers/alchemy/api/pages_controller.rb returns an unfiltered page tree because it performs no authorization and does not scope descendants by the caller's ability. Anonymous callers can retrieve restricted and unpublished page metadata that the sibling show action denies. When elements=true is supplied, PageTreeSerializer also returns element and ingredient content from restricted pages because PageTreePreloader and the serializer do not apply an ability check to those records. This issue is fixed in versions 7.4.15, 8.0.15, 8.1.14, and 8.2.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.4.15
- >= 8.0.0, < 8.0.15
- >= 8.1.0, < 8.1.14
- >= 8.2.0, < 8.2.6
Fixed in 7.4.15, 8.0.15, 8.1.14, 8.2.6
Mitigation
Upgrade alchemy_cms to 7.4.15 or 8.0.15 or 8.1.14 or 8.2.6 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.