Summary
C-Kermit's IKSD SSL build can mishandle authentication state after refusing a certificate login. A holder of a trusted certificate mapped to a refused account may then be able to access another account's shell by supplying that account name and any password.
Affected context
The issue affects C-Kermit IKSD SSL builds in the stated vulnerable release range when Telnet authentication state is retained as valid after a certificate login is refused. Risk depends on the service being reachable and on the attacker having a trusted certificate mapped to a refused account.
Exploit preconditions
- Attack surface: The IKSD service using an affected SSL build must be reachable.
- Required access: The attacker must hold a trusted certificate mapped to an account whose certificate login is refused.
- Trigger point: The authentication flow following the refused certificate login.
- Why exploitation is possible: Telnet authentication state remains
AUTH_VALID, potentially allowing access to another account with an arbitrary password.
Why this happens
The authentication flow does not correctly clear or invalidate Telnet authentication state after a certificate login is refused. Subsequent account checks may therefore rely on stale state rather than verifying the requested account's credentials. This is an authentication bypass pattern associated with CWE-287: Improper Authentication.
Potential impact
- An attacker may gain access to an account they are not authorized to use.
- The attacker could obtain shell access with the privileges of the selected account.
- Compromised accounts may be used to access data or systems available to those accounts.
General mitigation guidance
Defensive patterns include ensuring every authentication failure resets the session to an unauthenticated state, and requiring fresh, account-specific credential validation before granting access. Apply consistent authentication checks across certificate and password flows, limit service and account privileges, and reduce certificate trust to identities with a clear authorization need.
How teams detect issues like this
Review authentication state transitions, especially paths after rejected certificates, and check that failure states cannot be reused by later login steps. Static analysis and code review can look for stale authentication flags, missing state resets, and account checks that do not bind credentials to the requested identity. Monitoring can flag successful logins following certificate rejection and unusual account or shell access patterns; policy checks can require explicit state invalidation on every authentication failure.

