CVE-2026-77767: Reconmap Report Preview Endpoint Is Marked AllowAnonymous, Exposing Every Project and Client Organisation Without Authentication
Reconmap's API applies a fallback authorization policy in apps/api/app/Program.cs that requires an authenticated user holding the administrator role, so controllers without their own attribute reject anonymous callers. The report preview action in apps/api/app/Controllers/ReportsController.cs carries [AllowAnonymous] and therefore opts out of that policy. PreviewReport loads the Project row named by the id path segment, loads the linked Organisation through the project's ClientId, and renders both into default-report-template.html, which prints the project name and description together with the client organisation's name, address and URL. No authentication, project membership or role check is performed. Because the id is the auto-increment primary key of the project table, an unauthenticated remote caller can walk sequential ids to retrieve the engagement details and client organisation of every project on the instance, and the 404 returned for a missing id reveals which project ids exist. Reconmap stores penetration-testing engagements, so the disclosed descriptions and client records are sensitive by nature.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any unauthenticated remote caller that can reach the Reconmap API can request report previews. No account, project membership, or administrator role is required.
What information can be disclosed?
The preview renders the project's name and description and its linked client organisation's name, address, and URL. This can expose sensitive penetration-testing engagement details and client records.
Can an attacker enumerate projects?
Yes. Project IDs are auto-incrementing primary keys, so callers can try sequential IDs to retrieve records. A 404 response for an absent ID also reveals which project IDs exist.
Are default deployments affected?
The affected action explicitly uses AllowAnonymous, which bypasses Reconmap's fallback policy requiring an authenticated administrator. The described endpoint therefore does not inherit the default authorization protection.