8.2high
Crater - Cross-Company IDOR on Notes via Missing Company-Ownership Check in NotePolicy
- Severity
- 8.2high CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
Description
Crater's NotePolicy checks only a blanket Bouncer ability (manage-all-notes / view-all-notes) with no company-ownership comparison, unlike InvoicePolicy and other sibling policies which additionally verify ->hasCompany(->company_id). Any authenticated user of one company can read, edit, or delete another company's notes by ID.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| crater-invoice crater | 6.0.6 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Crater's NotePolicy checks only a blanket Bouncer ability (manage-all-notes / view-all-notes) with no company-ownership comparison, unlike InvoicePolicy and other sibling policies which additionally verify ->hasCompany(->company_id). Any authenticated user of one company can read, edit, or delete another company's notes by ID.
NVD (es)
La NotePolicy de Crater solo verifica una habilidad general de Bouncer (manage-all-notes / view-all-notes) sin comparación de propiedad de la empresa, a diferencia de InvoicePolicy y otras políticas hermanas que verifican adicionalmente $user -mayor que hasCompany($model -mayor que company_id). Las acciones show(), update() y destroy() de NotesController autorizan a través de $this -mayor que authorize(’view notes’/’manage notes’) sin pasar el modelo Note objetivo, y el alcance por empresa de Note (scopeWhereCompany) se aplica solo en el endpoint de lista, no en show/update/destroy. Cualquier usuario autenticado de una empresa puede leer, editar o eliminar las notas de otra empresa por ID. Este es un hallazgo distinto de la omisión de propiedad de la empresa de CustomerPolicy reportada previamente (una clase de política y un controlador diferentes).
References
| https://github.com/crater-invoice/crater | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-71242 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-71242 changed 2026-10-24 | Public domain |