Ghostwriter: Missing authorization in WebSocket subscriptions allows disclosure of information from other projects
Original description The description as published by the source.
Ghostwriter is the SpecterOps project management and reporting engine. Prior to 7.2.1, OplogEntryConsumer.connect() in ghostwriter/oplog/consumers.py checks only whether a user is active before joining the channel group selected by the client-controlled oplog identifier at ws/oplog//entries. An authenticated user can therefore subscribe to another project’s oplog without passing oplog.project.user_can_view(user) and receive live cross-tenant operation entries containing commands, addresses, tooling, comments, output, and potentially credentials. The historical pull path remains authorization-checked, so the exposure is the live stream while the unauthorized socket is connected. This issue is fixed in version 7.2.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com