Description
Engineercms through 2.0.5 contains a missing authorization vulnerability in AttachController.Attachment that allows unauthenticated attackers to download project image and video attachments. Attackers can request known or derived /attachment/* paths for .jpg, .png, .bmp, or .mp4 files, which are served before casbin, owner, or admin checks.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 3xxx | engineercms | ≤ 2.0.5 | — |
References
- https://hackmd.io/@hieuPenguinnn/engineercms-attachment-image-mp4-missing-authz third-party-advisory
- https://github.com/3xxx/engineercms/blob/v2.0.5/controllers/attachment.go#L1705-L1706 technical-description
- https://github.com/3xxx/engineercms product
- VulnCheck Advisory: Engineercms through 2.0.5 Missing Authorization via AttachController.Attachment third-party-advisory