Harshit Shukla firstname.lastname@example.org this IDOR vulnerability to the OFBiz security team, and we thank him for that.
Here is Harshit's message slightly edited:
In the above URL, the parameter 'orderId' has the value 'WSCO10000' and after incrementing the value to 'WSCO10001' or 'WSCO10002' will download the receipt of other orders which have been placed by other users.
All the available order receipts can be downloaded by running an automated tool (Burp Intruder) on the parameter 'orderId=WSCOXXXXX'
I have successfully tested this by using 2 different accounts: DemoCustomer and DemoCustomer2 (Jacques Le Roux edited)
An attacker can download order receipts of other users and this could lead to information disclosure.
The only real solution to this issue is to implement access control. The user needs to be authorized for the requested information before the server provides it.
Only ecommerce is affected because we have secure permissions in backorder components (ERP)