Xyplex terminal server 6.0.1S1, and possibly other versions, allows remote attackers to bypass the password prompt by entering (1) a CTRL-Z character, or (2) a ? (question mark).
Xyplex terminal servers are vulnerable to a critical authentication bypass, allowing remote attackers to gain unauthorized access. By sending a specific character sequence (CTRL-Z or '?'), attackers can circumvent the password prompt, leading to complete system compromise and potential data breaches. This vulnerability poses a significant risk to organizations using affected Xyplex terminal servers.
Step 1: Connection Establishment: The attacker initiates a Telnet or SSH connection to the vulnerable Xyplex terminal server. Step 2: Initial Prompt: The server presents the login prompt. Step 3: Payload Delivery (CTRL-Z): The attacker sends a CTRL-Z character (ASCII code 26) as input instead of a username or password. Step 3: Payload Delivery (Question Mark): The attacker sends a question mark ('?') character as input instead of a username or password. Step 4: Authentication Bypass: The server's authentication routine fails to properly handle the CTRL-Z or question mark, bypassing the password check. Step 5: Unauthorized Access: The attacker gains access to the terminal server without providing valid credentials.
The vulnerability stems from inadequate input validation within the Xyplex terminal server's authentication process. Specifically, the software fails to properly handle or sanitize the input received from the client during the login sequence. The presence of a CTRL-Z character or a question mark ('?') in the input stream bypasses the password check, likely due to a flawed conditional statement or a failure to properly handle these special characters. This could be a simple logic error where the code prematurely exits the password validation loop or a more complex issue related to how the server processes terminal control characters. The root cause is a logic flaw in the authentication routine, allowing for an unexpected state transition that grants access without proper credentials. This is not a buffer overflow or race condition, but a direct bypass of the intended authentication flow.