CVE-2023-5616
NoneCVSS
—
EPSS
0.2%
Published
Dec 13, 2023
CISA due date
—
Cloudanix analysis
A setting that should control whether outsiders can remotely connect to a computer may not show the true status, leaving the machine open when users think access is blocked.
- Exploitation
- Other
- Attacker needs
- None
- Complexity
- Theoretical
- Impact
- Data Exposure
- Component
- Application
- Class
- Misconfiguration
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
The gnome-control-center interface fails to accurately reflect the enabled state of remote SSH login when systemd socket activation is configured for openssh-server, leaving the SSH service active despite user expectations that it is disabled.
Why it matters to the business
Organizations face increased risk of unauthorized remote access because users believe SSH is turned off when it remains available, potentially leading to undetected system exposure and subsequent compromise.
How an attack unfolds
An attacker performs network scanning to locate hosts listening on TCP port 22, then attempts SSH authentication against systems where the graphical interface misleadingly indicates remote login is disabled due to socket activation.
How to fix it
Verify actual SSH service state using systemctl commands, disable ssh.socket if remote access is unintended, and ensure desktop settings match the underlying systemd configuration.
How to confirm the fix worked
Compare systemctl status output for ssh.service and ssh.socket against the gnome-control-center remote login toggle to confirm they are synchronized.
Typical attack path
- Scan networks for hosts with TCP port 22 open
- Attempt SSH connections using valid credentials or brute-force techniques
- Establish remote shell access if authentication succeeds
How to detect it
Examine authentication logs for SSH connections from unexpected sources and periodically compare service enablement state against graphical interface reports.
What your security team should do
- Audit Ubuntu systems for use of systemd socket activation with SSH
- Implement monitoring to detect SSH listeners that contradict GUI settings
- Provide user guidance on direct service verification rather than relying solely on the control center
The record
In Ubuntu, gnome-control-center did not properly reflect SSH remote login status when the system was configured to use systemd socket activation for openssh-server. This could unknowingly leave the local machine exposed to remote SSH access contrary to expectation of the user.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | gnome-control-center | 0 | No fix |
| Debian:12 | gnome-control-center | 0 | No fix |
| Debian:13 | gnome-control-center | 0 | No fix |
| Debian:14 | gnome-control-center | 0 | No fix |
| Ubuntu:16.04:LTS | gnome-control-center | 0 | No fix |
| Ubuntu:18.04:LTS | gnome-control-center | 0 | No fix |
| Ubuntu:20.04:LTS | gnome-control-center | 0 | 1:3.36.5-0ubuntu4.1 |
| Ubuntu:22.04:LTS | gnome-control-center | 0 | 1:41.7-0ubuntu0.22.04.8 |
| Ubuntu:23.10 | gnome-control-center | 0 | 1:45.0-1ubuntu3.1 |
| Ubuntu:24.04:LTS | gnome-control-center | 0 | 1:45.0-1ubuntu4 |
| Ubuntu:Pro:16.04:LTS | gnome-control-center | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | gnome-control-center | 0 | No fix |