Description
LearnHouse before 1.4.0 contains a missing authorization vulnerability in POST /api/v1/playgrounds/{uuid}/duplicate that skips the read-access and draft checks enforced by get_playground. Authenticated users with playground creation rights, such as Instructors, who know a RESTRICTED or unpublished playground UUID can copy its html_content and republish it publicly.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| learnhouse | LearnHouse | < 1.4.0 | 1.4.0 |
References
- GitHub Pull Request #1120 issue-tracking patch
- Patch Commit patch
- https://github.com/learnhouse/learnhouse product
- VulnCheck Advisory: LearnHouse before 1.4.0 Missing Authorization via Playground Duplicate Endpoint third-party-advisory