Repository navigation
A security-focused patch release. One vulnerability was identified, responsibly disclosed, and resolved in full.
Security Fixes
Broken access control: supplier could tamper with another supplier's purchase order
Medium — CVSS 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) — CWE-639 (Authorization Bypass Through User-Controlled Key / IDOR)
public/supplier/orders.php looked up the submitted po_id with an ownership filter, but the save_prices POST branch was gated only on the resulting status string, which silently defaulted to 'pending' when no matching (not-owned) purchase order was found. The branch never checked that the lookup actually succeeded, and the writes were keyed only on the raw po_id from the request — so an authenticated supplier could tamper with prices/status on any purchase order, including other suppliers'.
Fix: the save_prices branch now requires the ownership-checked $po object to be non-null before it can execute.
Acknowledgements
Reported by Peter Wilfahrt (GitHub | Web) via GitHub Private Vulnerability Reporting.
Verification
This release does not ship a custom zip asset — the in-app Software Updater always downloads GitHub's own auto-generated source archive for this tag:
https://github.com/psvim/drxstore/archive/refs/tags/v3.2.0.zip
The attached drxstore-3.2.0.zip.sha256 is the SHA256 of that exact archive. Verify manually with:
curl -L -o drxstore-3.2.0.zip https://github.com/psvim/drxstore/archive/refs/tags/v3.2.0.zip
sha256sum -c drxstore-3.2.0.zip.sha256| File | SHA256 |
|---|---|
drxstore-3.2.0.zip (GitHub source archive) |
0203def285a2186c8acdabfb40d9d2d897d7cb9985044a97dc300943f33da8b4 |