CVE-2024-45752
High · 7.3CVSS
7.3
EPSS
0.3%
Published
Sep 19, 2024
CISA due date
—
Cloudanix analysis
Regular users on the computer can secretly change settings that let them run powerful commands by pressing certain keys, giving them full control of the machine.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Unrestricted D-Bus interface in the default configuration permits any local unprivileged process to reconfigure the logid daemon and install arbitrary keyboard macros that execute with elevated privileges.
Why it matters to the business
Attackers with a foothold on an affected workstation can obtain root or administrative rights with a single user interaction, increasing the blast radius of any initial compromise and potentially exposing sensitive data or disrupting operations.
How an attack unfolds
An attacker running as a normal user connects to the exposed D-Bus service, registers a keyboard macro that runs a privileged command, then triggers the macro via a key sequence or synthetic input to execute code as root.
How to fix it
Upgrade github.com/fluxcd/flux2 to 0.29.0 or later, github.com/fluxcd/kustomize-controller to 0.23.0 or later, and github.com/fluxcd/helm-controller to 0.19.0 or later; restrict D-Bus access via policy or disable the service if macros are not required.
How to confirm the fix worked
Verify that the D-Bus policy file denies unprivileged access to the logid interface, confirm the running daemon version matches a fixed release, and test that a non-root user can no longer call configuration methods.
Typical attack path
- Locate the logid D-Bus service on the session bus
- Connect without authentication as an unprivileged user
- Invoke the configuration method to install a malicious macro
- Trigger the macro through keyboard input or accessibility APIs
- Obtain elevated shell or execute arbitrary privileged actions
How to detect it
Search system and audit logs for D-Bus method calls to the logid configuration interface from non-root UIDs; look for sudden creation or modification of keyboard macro definitions in user or system configuration files.
What your security team should do
- Immediately apply the listed fixed versions across all affected FluxCD deployments
- Audit D-Bus service files and restrict logid exposure to root-only or authenticated users
- Monitor for unexpected keyboard macro registrations in system logs
- Review EPSS and exploit maturity; no active KEV or ransomware use reported but still prioritize patching
The record
logiops through 0.3.4, in its default configuration, allows any unprivileged user to configure its logid daemon via an unrestricted D-Bus service, including setting malicious keyboard macros. This allows for privilege escalation with minimal user interaction.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | logiops | 0 | No fix |
| Debian:13 | logiops | 0 | 0.3.5-1 |
| Debian:14 | logiops | 0 | 0.3.5-1 |
| Ubuntu:22.04:LTS | logiops | 0 | No fix |
| Ubuntu:24.04:LTS | logiops | 0 | No fix |
| Ubuntu:24.10 | logiops | 0 | No fix |
| Ubuntu:25.04 | logiops | 0 | No fix |
| Ubuntu:25.10 | logiops | 0 | No fix |