Habitat image exposure in post attachment handling
carlnewton Habitat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| carlnewton Habitat |
| No fix yet |
Original description
Habitat through 1.7.1 contains an insecure direct object reference vulnerability in CreatePostController::addAttachmentsToPost() that allows authenticated users to claim other users' unposted image uploads. Email-verified attackers can submit sequential attachmentIds when creating a post to attach another user's pending image, exposing it publicly and removing it from the uploader's post.
From the CVE record · VulnCheck