C Kermit
Monthly
Authentication bypass in C-Kermit's IKSD server (7.0.197 through 11.0.x, fixed in 11.1.515) lets an attacker who holds a trusted client certificate mapped to a refused account log in as any other account on the host with any password, gaining that account's shell. The flaw only exists in SSL/TLS builds running as IKSD with client-certificate login enabled: when certificate verification fails, IKSD leaves the Telnet authentication state at AUTH_VALID and skips the password check entirely. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N, VC:H/VI:H/VA:H) and the assessed CVSS 3.1 equivalent (AC:H/PR:L) both require that trusted certificate, so this is an authenticated attack against a non-default configuration rather than a pre-auth remote compromise; there is no KEV entry, and no public exploit code was identified at time of analysis (the vendor added regression tests rather than an exploit). A vendor patch is available and the priority signal places it in this week's patch cycle.
C-Kermit builds with SSL/TLS support compiled in fail to check that a Telnet peer's certificate actually names the host when the session is negotiated through the Telnet AUTHENTICATION option's SSL type, so a machine-in-the-middle attacker who refuses START-TLS can impersonate the server with any certificate issued by a trusted CA and capture credentials and session data. The vulnerable code path dates to C-Kermit 8.0.200 (2001), and the advisory's package data scopes affected builds to versions from 7.0.197 up to, but not including, 11.1.515. Exploitation is not opportunistic: it requires an attacker already positioned on the network path (CVSS 4.0 AT:P) plus a user who initiates the vulnerable SSL/TLS Telnet session (UI:P), and while a proof-of-concept test harness was added for the related IKSD authentication defect, no working exploit code for this certificate-validation flaw has been confirmed and no CISA KEV entry exists. The vendor-released fix is 11.1.515, and the issue is prioritized for remediation this week.
TLS host name verification in C-Kermit is broken in versions 8.0.200 through 11.0.514: the client accepts a server certificate whose name only loosely resembles the host it dialed, so an attacker in a man-in-the-middle position can impersonate that host and capture Telnet, FTP, and HTTP credentials and session data. Exploitation is conditional rather than trivial - the attacker needs a certificate chaining to a CA the victim already trusts that contains over-matching names (asterisks, question marks, brackets, or empty labels) and must sit on the connection path while the victim initiates the connection (unauthenticated remote attacker per the CVSS 4.0 vector, with attack prerequisites and user interaction). No confirmed active exploitation and no verified public exploit code for this host name matching flaw were identified at time of analysis; the same upstream advisory also documents a separate IKSD client-certificate authentication bypass that is arguably more severe.
C-Kermit releases from 6.0.192 up to but not including 11.1.515 allow a malicious Kermit sender to append attacker-supplied bytes to files that already exist in the receiver's directory by marking the transfer RESEND with an as-name matching the target, silently defeating both the FILE COLLISION REJECT default and the RECEIVE CONFIRM prompt added in 11.0. Sixteen-bit integrity impact is total for the targeted file, with no confidentiality or availability effect and no scope change; the practical payoff is writing into shell startup files such as .bashrc that are later sourced and executed. Exploitation requires the victim to initiate or accept the session (run receive, a recursive GET, or an FTP MGET /RECURSIVE against an untrusted peer or server), so the vendor's CVSS 4.0 score is 7.1 High with UI:P, and no public exploit code is verified as working at time of analysis, although the upstream advisory publishes reproduction steps and regression tests. Two related reception flaws are fixed in the same release: a recursive GET that could skip the RECEIVE CONFIRM prompt and an FTP MGET /RECURSIVE path traversal.
C-Kermit's Telnet client (versions 6.0.192 through 11.0.514) writes attacker-supplied NEW-ENVIRON SEND data past the bounds of a 16-byte stack buffer and a mis-sized heap buffer in tn_snenv(), corrupting client memory when the user connects to a malicious or man-in-the-middle Telnet server, with potential for remote code execution. The negotiation is processed before authentication, so the hostile server needs no credentials, but the victim must actively initiate the connection and the attacker must control or intercept the server. No public exploit specific to this NEW-ENVIRON overflow has been identified at time of analysis; the vendor-released fix is C-Kermit 11.1.515.
Buffer overflow in C-Kermit's FTP client getreply() routine in ckcftp.c lets an attacker-controlled or man-in-the-middle FTP server overwrite client memory with overlong RFC 2228 security replies, giving the attacker a path to remote code execution on the connecting client. Affected are versions 8.0.200 through 11.0.514; the PBSZ variant applies only to TLS/SSL builds using AUTH TLS, and the ADAT variant only to builds with GSSAPI, Kerberos 4, or SRP support, so exposure depends heavily on how the binary was compiled. Exploitation requires the user to initiate an outbound secured FTP session to the hostile server (UI:P per the assessed vector), no public exploit code specific to this reply-parsing flaw was identified at time of analysis, and the vendor has released C-Kermit 11.1.515 as the fix.
OS command injection in the C-Kermit server (versions before 11.1.515) lets a remote client run arbitrary shell commands on the server host through unquoted arguments to REMOTE WHO and REMOTE SPACE, which are passed through WHOCMD/SPACM2 into syscmd(); DISABLE HOST does not block it. Only hosts running Kermit in SERVER mode are exposed, and IKSD is explicitly unaffected because it never runs external programs. The flaw dates to 1985 and is fixed in 11.1.515; no public working exploit is confirmed, and CISA KEV status is not recorded.
Unauthenticated remote code execution in C-Kermit's Kermit server mode lets a connecting client run shell commands on the server even after the operator has issued DISABLE HOST, because REMOTE QUERY text is evaluated as a Kermit expression in which a name ending in ')' is treated as a function call reaching \fcommand(), or RUN via \fexecute(). Releases 6.0.192 through 11.0.514 are affected and 11.1.515 fixes it; the project's GHSA advisory includes step-by-step reproduction commands, which constitute a public PoC reference that is not verified as working exploit code, and no CISA KEV entry is recorded. Exploitation requires the target to actually be running in server mode and to accept the attacker's connection (AT:P in the CVSS 4.0 scoring), IKSD is explicitly not affected, and the vulnerability carries an act-now priority signal with a 9.2 severity score.
Heap-based buffer overflow in C-Kermit before 11.1.515 allows unauthenticated remote peers to write attacker-chosen bytes past the srvcmd command buffer by sending crafted Kermit server command, GET, or file-header packets that use repeat-count compression to exceed the decoded buffer size. The flaw affects C-Kermit instances acting as a Kermit server or receiving files from an attacker-controlled peer; exploitation requires the attacker to be the peer or a man-in-the-middle, and no authentication or user interaction is needed. The vendor has released C-Kermit 11.1.515 with a bounds check in putsrv(); no public exploit specific to this heap overflow has been identified at time of analysis.
C-Kermit 11.0.506 through 11.1.514 allows a malicious Kermit peer or FTP server to write files the user never requested - including .ssh/authorized_keys or shell startup files such as .bashrc - by slipping filenames past the RECEIVE CONFIRM prompt during a recursive GET. The flaw sits in the recursive-GET root computation in ckcfns.c: anything the server places beneath the user's current directory is accepted by rq_under_root() as 'under root' and written silently, giving a malicious sender a route to persistent access or code execution. Exploitation requires the victim to actively initiate the transfer against an attacker-controlled endpoint (CVSS:3.1 UI:R), so there is no server-to-client push against a passive client; this is a moderate-priority issue rather than an emergency, with no CISA KEV listing and no confirmed working exploit code, although the vendor advisory publishes reproduction steps and a test-suite case for the related RESEND collision bypass.
C-Kermit's FTP recursive transfer path (doftpget() in ckcftp.c) uses NLST/MLSD listing names from the server verbatim as the local filename, so a malicious or compromised FTP server can return absolute paths, tilde names or '..' components and cause files to be written anywhere the invoking OS user can write - including files such as ~/.bashrc, which yields code execution when later sourced. Affected builds are C-Kermit 8.0.200 through versions before 11.1.515; exploitation requires the victim to connect to the attacker's server and run 'ftp mget /recursive' (CVSS 4.0 6.9, UI:A; independently assessed as CVSS 3.1 6.9, AV:N/AC:L/PR:N/UI:R, integrity-only impact). No public exploit code specific to this traversal is identified at time of analysis and the issue is not in CISA KEV; the vendor advisory does publish step-by-step reproduction for a separate collision-bypass bug in the same file-reception code.
Authentication bypass in C-Kermit's IKSD server (7.0.197 through 11.0.x, fixed in 11.1.515) lets an attacker who holds a trusted client certificate mapped to a refused account log in as any other account on the host with any password, gaining that account's shell. The flaw only exists in SSL/TLS builds running as IKSD with client-certificate login enabled: when certificate verification fails, IKSD leaves the Telnet authentication state at AUTH_VALID and skips the password check entirely. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N, VC:H/VI:H/VA:H) and the assessed CVSS 3.1 equivalent (AC:H/PR:L) both require that trusted certificate, so this is an authenticated attack against a non-default configuration rather than a pre-auth remote compromise; there is no KEV entry, and no public exploit code was identified at time of analysis (the vendor added regression tests rather than an exploit). A vendor patch is available and the priority signal places it in this week's patch cycle.
C-Kermit builds with SSL/TLS support compiled in fail to check that a Telnet peer's certificate actually names the host when the session is negotiated through the Telnet AUTHENTICATION option's SSL type, so a machine-in-the-middle attacker who refuses START-TLS can impersonate the server with any certificate issued by a trusted CA and capture credentials and session data. The vulnerable code path dates to C-Kermit 8.0.200 (2001), and the advisory's package data scopes affected builds to versions from 7.0.197 up to, but not including, 11.1.515. Exploitation is not opportunistic: it requires an attacker already positioned on the network path (CVSS 4.0 AT:P) plus a user who initiates the vulnerable SSL/TLS Telnet session (UI:P), and while a proof-of-concept test harness was added for the related IKSD authentication defect, no working exploit code for this certificate-validation flaw has been confirmed and no CISA KEV entry exists. The vendor-released fix is 11.1.515, and the issue is prioritized for remediation this week.
TLS host name verification in C-Kermit is broken in versions 8.0.200 through 11.0.514: the client accepts a server certificate whose name only loosely resembles the host it dialed, so an attacker in a man-in-the-middle position can impersonate that host and capture Telnet, FTP, and HTTP credentials and session data. Exploitation is conditional rather than trivial - the attacker needs a certificate chaining to a CA the victim already trusts that contains over-matching names (asterisks, question marks, brackets, or empty labels) and must sit on the connection path while the victim initiates the connection (unauthenticated remote attacker per the CVSS 4.0 vector, with attack prerequisites and user interaction). No confirmed active exploitation and no verified public exploit code for this host name matching flaw were identified at time of analysis; the same upstream advisory also documents a separate IKSD client-certificate authentication bypass that is arguably more severe.
C-Kermit releases from 6.0.192 up to but not including 11.1.515 allow a malicious Kermit sender to append attacker-supplied bytes to files that already exist in the receiver's directory by marking the transfer RESEND with an as-name matching the target, silently defeating both the FILE COLLISION REJECT default and the RECEIVE CONFIRM prompt added in 11.0. Sixteen-bit integrity impact is total for the targeted file, with no confidentiality or availability effect and no scope change; the practical payoff is writing into shell startup files such as .bashrc that are later sourced and executed. Exploitation requires the victim to initiate or accept the session (run receive, a recursive GET, or an FTP MGET /RECURSIVE against an untrusted peer or server), so the vendor's CVSS 4.0 score is 7.1 High with UI:P, and no public exploit code is verified as working at time of analysis, although the upstream advisory publishes reproduction steps and regression tests. Two related reception flaws are fixed in the same release: a recursive GET that could skip the RECEIVE CONFIRM prompt and an FTP MGET /RECURSIVE path traversal.
C-Kermit's Telnet client (versions 6.0.192 through 11.0.514) writes attacker-supplied NEW-ENVIRON SEND data past the bounds of a 16-byte stack buffer and a mis-sized heap buffer in tn_snenv(), corrupting client memory when the user connects to a malicious or man-in-the-middle Telnet server, with potential for remote code execution. The negotiation is processed before authentication, so the hostile server needs no credentials, but the victim must actively initiate the connection and the attacker must control or intercept the server. No public exploit specific to this NEW-ENVIRON overflow has been identified at time of analysis; the vendor-released fix is C-Kermit 11.1.515.
Buffer overflow in C-Kermit's FTP client getreply() routine in ckcftp.c lets an attacker-controlled or man-in-the-middle FTP server overwrite client memory with overlong RFC 2228 security replies, giving the attacker a path to remote code execution on the connecting client. Affected are versions 8.0.200 through 11.0.514; the PBSZ variant applies only to TLS/SSL builds using AUTH TLS, and the ADAT variant only to builds with GSSAPI, Kerberos 4, or SRP support, so exposure depends heavily on how the binary was compiled. Exploitation requires the user to initiate an outbound secured FTP session to the hostile server (UI:P per the assessed vector), no public exploit code specific to this reply-parsing flaw was identified at time of analysis, and the vendor has released C-Kermit 11.1.515 as the fix.
OS command injection in the C-Kermit server (versions before 11.1.515) lets a remote client run arbitrary shell commands on the server host through unquoted arguments to REMOTE WHO and REMOTE SPACE, which are passed through WHOCMD/SPACM2 into syscmd(); DISABLE HOST does not block it. Only hosts running Kermit in SERVER mode are exposed, and IKSD is explicitly unaffected because it never runs external programs. The flaw dates to 1985 and is fixed in 11.1.515; no public working exploit is confirmed, and CISA KEV status is not recorded.
Unauthenticated remote code execution in C-Kermit's Kermit server mode lets a connecting client run shell commands on the server even after the operator has issued DISABLE HOST, because REMOTE QUERY text is evaluated as a Kermit expression in which a name ending in ')' is treated as a function call reaching \fcommand(), or RUN via \fexecute(). Releases 6.0.192 through 11.0.514 are affected and 11.1.515 fixes it; the project's GHSA advisory includes step-by-step reproduction commands, which constitute a public PoC reference that is not verified as working exploit code, and no CISA KEV entry is recorded. Exploitation requires the target to actually be running in server mode and to accept the attacker's connection (AT:P in the CVSS 4.0 scoring), IKSD is explicitly not affected, and the vulnerability carries an act-now priority signal with a 9.2 severity score.
Heap-based buffer overflow in C-Kermit before 11.1.515 allows unauthenticated remote peers to write attacker-chosen bytes past the srvcmd command buffer by sending crafted Kermit server command, GET, or file-header packets that use repeat-count compression to exceed the decoded buffer size. The flaw affects C-Kermit instances acting as a Kermit server or receiving files from an attacker-controlled peer; exploitation requires the attacker to be the peer or a man-in-the-middle, and no authentication or user interaction is needed. The vendor has released C-Kermit 11.1.515 with a bounds check in putsrv(); no public exploit specific to this heap overflow has been identified at time of analysis.
C-Kermit 11.0.506 through 11.1.514 allows a malicious Kermit peer or FTP server to write files the user never requested - including .ssh/authorized_keys or shell startup files such as .bashrc - by slipping filenames past the RECEIVE CONFIRM prompt during a recursive GET. The flaw sits in the recursive-GET root computation in ckcfns.c: anything the server places beneath the user's current directory is accepted by rq_under_root() as 'under root' and written silently, giving a malicious sender a route to persistent access or code execution. Exploitation requires the victim to actively initiate the transfer against an attacker-controlled endpoint (CVSS:3.1 UI:R), so there is no server-to-client push against a passive client; this is a moderate-priority issue rather than an emergency, with no CISA KEV listing and no confirmed working exploit code, although the vendor advisory publishes reproduction steps and a test-suite case for the related RESEND collision bypass.
C-Kermit's FTP recursive transfer path (doftpget() in ckcftp.c) uses NLST/MLSD listing names from the server verbatim as the local filename, so a malicious or compromised FTP server can return absolute paths, tilde names or '..' components and cause files to be written anywhere the invoking OS user can write - including files such as ~/.bashrc, which yields code execution when later sourced. Affected builds are C-Kermit 8.0.200 through versions before 11.1.515; exploitation requires the victim to connect to the attacker's server and run 'ftp mget /recursive' (CVSS 4.0 6.9, UI:A; independently assessed as CVSS 3.1 6.9, AV:N/AC:L/PR:N/UI:R, integrity-only impact). No public exploit code specific to this traversal is identified at time of analysis and the issue is not in CISA KEV; the vendor advisory does publish step-by-step reproduction for a separate collision-bypass bug in the same file-reception code.