Sifchain · Report #1132690
Exposed Openapi Token
Informativestatus
3upvotes
7 May 2021disclosed
How it was found
Summary While looking for secrets, I noticed that Developers had removed a swagger spec draft. The URL had a committed token in the history of multiple project files: ui/core/src/api/transactionsService.ts ui/core/src/api/tendermintService.ts ui/core/src/api/stakingService.ts ui/core/src/api/slashingService.ts ui/core/src/api/sifdistService.ts ui/core/src/api/bankService.ts ...etc, etc
Steps To Reproduce
- Look at the file history of the the github ui/core/src/api and check for secrets. I will provide exposed file history if requested further.
Impact
An attacker can utilize the token on the api.sifchain.finance API