Root command execution via writable login script
Published May 17, 2022 · Updated Sep 17, 2024
Improper file permissions in Fidelis Network and Deception before 9.4.5 allow local users to execute commands as root after a root login. The appliance account owns and can modify /etc/profile.d/login.sh, which the shell executes when root subsequently logs in. Exploitation requires local administrative CLI access and a later root login, after which injected commands run with root privileges.
Summary
What happened
Improper file permissions in Fidelis Network and Deception before 9.4.5 allow local users to execute commands as root after a root login. The appliance account owns and can modify /etc/profile.d/login.sh, which the shell executes when root subsequently logs in. Exploitation requires local administrative CLI access and a later root login, after which injected commands run with root privileges.
The record
- CVE
- CVE-2022-0997
- Published
- May 17, 2022
- Updated
- Sep 17, 2024
- Vendor
- Fidelis Security
- Product
- Fidelis Network
- Classifications
- CWE-276, T1546.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- May 17, 2022CVE publishedPublication date reported by the CVE source.
- Sep 17, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Fidelis Network <9.4.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Fidelis Network and Deception insecure file permissions privilege escalationfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo