- Reference
- HI-OP-2026-R7KD-01
- Severity
- Critical
- CVSS
-
4.0 9.3
AV:N/AC:L/ AT:N/ PR:N/ UI:N/ VC:H/ VI:H/ VA:N/ SC:N/ SI:N/ SA:N 3.1 9.1AV:N/AC:L/ PR:N/ UI:N/ S:U/ C:H/ I:H/ A:N - Where
- iOS and Android app
- Who can do this
- Anyone, no account needed
- Retest
- Fixed
The secret key of the payment provider is inside the app
The app talks to the payment provider itself, with a key that belongs on the server only.
Evidence
- Download the app from the store, without an account.
- The secret key of the payment provider is inside the app.
- With that key a refund can be made outside the app.
Impact
Anyone can refund money to themselves and view customer data at the payment provider. The key has to be revoked and the app released again.
Fix
src/api/payments.ts