InvoiceShelf
InvoiceShelf: IDOR in InvoiceShelf estimate-to-invoice conversion allows any company user to read and tamper with other companies' estimates
InvoiceShelf is an open-source web & mobile app that helps track expenses, payments and create professional invoices and estimates. Prior to version 2.4.0, POST /api/v1/estimates/{estimate}/convert-to-invoice in ConvertEstimateController authorizes only the caller's create-invoice ability and does not authorize access to the route-bound Estimate. Because route-model binding can resolve an estimate from any company, an authenticated user with create-invoice ability can copy another company's line items, prices, totals, taxes, notes, currency, and customer data into an invoice in the attacker's company. The victim company's configured conversion action reaches checkForEstimateConvertAction and can also change or delete the original estimate. This issue is fixed in version 2.4.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.4.0
Fixed in 2.4.0
Mitigation
Upgrade InvoiceShelf to 2.4.0 or later.
References
- Vendor advisory github.com/InvoiceShelf/InvoiceShelf/security/…
- Patch github.com/InvoiceShelf/InvoiceShelf/pull/661
- Patch github.com/InvoiceShelf/InvoiceShelf/commit/e4…
1 more
- Release notes github.com/InvoiceShelf/InvoiceShelf/releases/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.