Description
Ghostwriter before 7.1.2 fails to validate template ownership in the report template swap endpoint, allowing attackers to attach client-scoped templates from other clients to their own reports. Attackers can exploit sequential template primary keys to enumerate and attach foreign templates, then generate reports to disclose template contents including letterhead, boilerplate, and methodology text.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GhostManager | Ghostwriter | < 7.1.2 | 7.1.2 |
References
- Patch Commit patch
- https://github.com/GhostManager/Ghostwriter product
- https://github.com/GhostManager/Ghostwriter/blob/v7.1.1/ghostwriter/reporting/views.py#L275-L315 technical-description
- https://github.com/geo-chen/oss/blob/main/Ghostwriter.md third-party-advisory
- VulnCheck Advisory: Ghostwriter before 7.1.2 Cross-Client Report Template Disclosure via Unauthorized Template Swap third-party-advisory