InvoiceShelf - это веб-приложение с открытым исходным кодом, которое помогает отслеживать расходы, платежи и создавать профессиональные счета и оценки. До версии 2.4.0, InvoiceShelf публичный счет-фактура, оценка и маршруты оплаты используют цифровой EmailLog токена mailable_id без проверки mailable_type, а обработчики JSON не применяют EmailLog::isExpired. Таким образом, токен, выпущенный для одного типа документа, может раскрывать документ другой компании, когда сталкиваются числовые идентификаторы, и просроченный токен может оставаться пригодным для использования на маршрутах JSON GET /customer/invoices/{email_log:token, GET /customer/estimates/{email_log:token и GET /customer/payments/{email_log:token.
Обработчики просмотра также могут отметить несоответствующий счет-фактуру или оценку как просмотренный и отправить уведомление. Эта проблема исправлена в версии 2.4.0.
Показать оригинальное описание (EN)
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, InvoiceShelf public customer invoice, estimate, and payment routes use an EmailLog token's numeric mailable_id without verifying mailable_type, and the JSON handlers do not enforce EmailLog::isExpired. A token issued for one document type can therefore disclose a different company's document when numeric identifiers collide, and an expired token can remain usable on the JSON routes GET /customer/invoices/{email_log:token}, GET /customer/estimates/{email_log:token}, and GET /customer/payments/{email_log:token}. View handlers can also mark a mismatched invoice or estimate as viewed and send a notification. This issue is fixed in version 2.4.0.
Характеристики атаки
Последствия
Строка CVSS v3.1