InvoiceShelf: SSRF via unvalidated Gotenberg PDF renderer host in PDF configuration
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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's PDFConfigurationRequest.php validates the owner-controlled gotenberg_host setting only as a syntactically valid URL. GotenbergPDFDriver::loadView later sends a multipart HTTP request containing rendered invoice, estimate, or payment HTML as document.html to that host without rejecting private, loopback, link-local, or reserved addresses. An owner can use PDF generation to reach internal services or cloud metadata endpoints, and a configured external host receives customer names, addresses, line items, totals, and company identifiers from subsequent PDF renders. This issue is fixed in version 2.4.0.
Text from CVE List
Affected versions 1
- InvoiceShelfaffected: < 2.4.0CVE List
References 4
- github.com/InvoiceShelf/InvoiceShelf/commit/d615cfb4ff4841a3b8cda7fc850a2bb335521fe5Fixvia CVE List
- github.com/InvoiceShelf/InvoiceShelf/releases/tag/2.4.0Fixvia CVE List
- github.com/InvoiceShelf/InvoiceShelf/security/advisories/GHSA-mfxg-qphw-3f3gExploitvia CVE List
- github.com/InvoiceShelf/InvoiceShelf/pull/664Referencevia CVE List