4.3 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): None (N)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
3 packages
- inventree-part-import
- python313Packages.inventree
- python314Packages.inventree
- @LeSuisse accepted
- @LeSuisse published on GitHub
InvenTree: Report/Label print endpoints ignore per-model permissions
InvenTree is an Open Source Inventory Management System. Prior to 1.4.0, ReportPrint at POST /api/report/print/ and LabelPrint at POST /api/report/label/print/ require authentication but do not call users.permissions.check_user_permission for the caller's per-model view role before selecting objects by primary key and rendering them with a chosen template. Because default templates exist for major business models and DataOutput stores the generated artifact for the requesting user, a role-less or unrelated-role account can enumerate object identifiers and download reports containing purchase, sales, part, bill-of-materials, stock, build, supplier, customer, pricing, and inventory data that the corresponding detail APIs would deny. This issue is fixed in version 1.4.0.
References
-
https://github.com/inventree/InvenTree/security/advisories/GHSA-7w96-99fj-8g7x x_refsource_CONFIRM
-
https://github.com/inventree/InvenTree/pull/12142 x_refsource_MISC
-
https://github.com/inventree/InvenTree/releases/tag/1.4.0 x_refsource_MISC
Affected products
- ==< 1.4.0
Matching in nixpkgs
Ignored packages (3)
pkgs.inventree-part-import
CLI to import parts from suppliers like DigiKey, LCSC, Mouser, etc. to InvenTree
pkgs.python313Packages.inventree
Python library for communication with inventree via API
pkgs.python314Packages.inventree
Python library for communication with inventree via API
Package maintainers
-
@kurogeek kurogeek <kurogeek@lmvhaus.com>