USSD is old technology, and in East Africa it is also critical infrastructure. Millions of people across Rwanda, Uganda, Kenya and Tanzania use *182# and similar short codes for banking, mobile money and payments every day. USSD works on any phone without an internet connection, and it reaches people that smartphones and banking apps cannot.
Yet USSD applications are among the most under-tested systems in financial services. They sit behind telecom gateways, out of reach of the web and mobile-app tooling most assessments rely on, so they are often left out of scope even though they move real money for millions of customers. Attackers look for exactly that kind of gap.
Why USSD is a security target
USSD services handle real money and real data. A typical USSD banking session involves authentication, account balance checks, fund transfers, bill payments and airtime purchases. A vulnerability in any of these flows can lead to financial loss and regulatory consequences.
Web applications benefit from decades of security tooling and research; USSD has a smaller security community and fewer off-the-shelf testing tools. Many organisations mistake that lack of scrutiny for safety.
Common USSD vulnerabilities
From our lead tester's earlier work on USSD platforms for financial institutions, these are the vulnerability categories that come up most often:
Session management flaws
USSD is session-oriented at the protocol level, but sessions are short-lived and the application layer must track state across menu interactions. Common findings are predictable session tokens, sessions that do not expire properly and sessions that can be hijacked by manipulating parameters at the gateway.
Authentication bypasses
USSD services often authenticate users by the MSISDN (the subscriber's phone number) passed from the telecom gateway. If the application trusts this value without further verification, an attacker with access to the gateway or API layer can impersonate any customer by changing the MSISDN parameter.
Insecure API backends
USSD front-ends typically communicate with backend APIs (often the same APIs used by mobile banking apps). We test both the USSD-specific gateway interface and the underlying API for issues such as missing authorisation checks, insecure direct object references (IDOR) and data exposure. That shared backend is why USSD belongs in the same scope as a mobile application penetration test of the bank's app.
Input validation failures
USSD menus accept numeric input, but the backend processing may be vulnerable to injection attacks if input is not properly sanitised before being passed to databases or downstream systems.
PIN handling weaknesses
How the USSD application handles PINs is critical. We look for PINs transmitted in cleartext, PINs written to application logs, missing brute-force protection and PINs that are not properly hashed at rest.
No end-to-end encryption
USSD has no application-layer encryption. Traffic is protected over the air by the mobile network's radio ciphering, then crosses the operator's core network, the USSD gateway and any aggregator between the operator and the bank without protection of its own. Every PIN a customer types into a USSD menu is visible to those intermediaries unless the institution adds compensating controls. This is a property of the protocol, not a configuration error, so the mitigation is architectural: minimise the sensitive data that crosses the channel, secure the bank-side integration links and treat every intermediary as part of the attack surface.
A related problem is ownership. A USSD service typically spans three organisations: the bank, an aggregator and one or more mobile network operators. Each assumes someone else has tested the chain end to end. In practice, the contract boundaries between those parties are exactly where testing responsibility goes unassigned.
Real impact: In an earlier engagement by our lead tester for an African bank, manipulating a single parameter in the USSD gateway API exposed any customer's account balance and recent transactions. The fix took the development team less than a day. Without testing, this vulnerability could have remained undetected indefinitely.
Our USSD testing methodology
Testing USSD services requires a different approach from standard web application testing. Our methodology covers:
- Gateway interface testing: intercepting and manipulating USSD requests at the telecom gateway integration point
- Session analysis: mapping how sessions are created, maintained and destroyed
- Authentication testing: verifying that MSISDN validation cannot be bypassed
- Authorisation testing: ensuring users can access only their own accounts and transactions
- Backend API testing: full assessment of the APIs that power USSD menus
- PIN and credential handling: verifying secure storage, secure transmission and brute-force protection
- Business logic testing: attempting to manipulate transaction flows, bypass limits or exploit race conditions
For regulators and compliance teams
For institutions regulated by the National Bank of Rwanda (BNR), Regulation N° 50/2022 mandates annual penetration testing and twice-yearly vulnerability assessments. The regulation does not name individual delivery channels, but the intent is clear: testing must cover the systems that hold and move customer money. If USSD banking is one of those systems, your penetration testing scope should say so explicitly. A web-only assessment leaves a critical attack surface untested, and a scoping gap like that is difficult to defend in a supervisory review.
When requesting proposals from security firms, ask specifically whether the proposed tester has hands-on experience with USSD platforms and what the methodology covers at the gateway and aggregator layers.
USSD testing should be part of your broader vulnerability assessment and penetration testing (VAPT) programme. For BNR-regulated institutions, our BNR compliance guide explains the full requirements. For mobile money platform security beyond USSD, read mobile money security testing. For API-level vulnerabilities behind USSD gateways, see API security in banking.
How we can help
IMIZI Cyber provides manual penetration testing for banks, fintechs, telecoms, government and healthcare institutions across Africa, and we include USSD channels in scope when they move customer money. We assess gateway integrations, session management and the transaction-flow manipulation that web application testing alone does not reach.
For details on our full testing methodology and deliverables, see our penetration testing service page. Contact us to include USSD in your next security assessment.