3.5 KiB
3.5 KiB
Static security assessment
Executive conclusion
The APK reveals a broad, useful API surface, but the static evidence currently supports no confirmed API vulnerability. The project is at the reconnaissance stage: endpoints and client behavior are mapped sufficiently to plan safe interoperability work, but server-side authorization and abuse controls remain untested.
Findings
S-001 — No application-level certificate-pinning implementation located
- Evidence: targeted search of the decompiled EnBW packages found no
CertificatePinner, customsslSocketFactory, customhostnameVerifier, or equivalent application-level implementation. - Severity: informational / defense-in-depth observation.
- Interpretation: the app appears to rely on platform TLS validation. A user who controls their own device trust store may be able to inspect their own session. This is not, by itself, an EnBW API vulnerability or an authorization bypass.
- Status: static only; runtime interception has not been attempted.
S-002 — Start-charge request includes Firebase App Check
- Evidence:
ChargingPointApi.startChargingdeclaresX-Firebase-AppCheck. - Severity: positive control / abuse-resistance signal.
- Interpretation: starting a charge has an additional client-integrity input beyond the normal authenticated request. The server's enforcement, expiry, replay handling, and relationship to Play Integrity are not known.
- Status: static only; do not test by starting a charge without explicit approval.
S-003 — Multiple identifier-bearing paths require authorization testing
- Evidence: paths include
{profileId},{contractId},{documentId},{sessionId},{stationId},{id}, and{evseId}. - Severity: investigation candidate, not a finding.
- Interpretation: these are normal REST resource identifiers. The only meaningful question is whether the server checks that the authenticated principal may access or mutate each object. Testing must use harmless reads and authorized accounts only.
- Status: unverified.
S-004 — Sensitive mutation surface is present
- Evidence: charging start/stop, payment activation, contract revocation, profile deletion, card activation/disable, voucher redemption, and auto-charge operations are declared in the app.
- Severity: operational risk, not a vulnerability.
- Interpretation: an SDK must make mutating calls opt-in, clearly labelled, and difficult to invoke accidentally. The repository should begin with read-only methods.
- Status: confirmed static.
Explicit non-findings
The current work has not demonstrated:
- broken object-level authorization (BOLA/IDOR);
- token forgery, token leakage, or refresh-token reuse;
- unauthenticated access to private profile, invoice, or charging data;
- payment, voucher, tariff, or contract bypass;
- App Check bypass;
- insecure cleartext business API transport;
- exploitable exported-component data disclosure.
Safe test plan
- Recover the runtime base URL and Auth0 request parameters statically.
- Run only the normal login flow with an authorized test account.
- Validate read-only profile, station, tariff, and charging-history calls.
- Compare access behavior for harmless resource reads using only identifiers belonging to authorized test accounts.
- Stop before any charge, payment, voucher, contract, card, deletion, or auto-charge mutation unless the exact action is separately approved.
- Redact all credentials and tokens before saving notes.