Passwd display forgery via chfn control characters
Published Apr 14, 2023 · Updated Nov 3, 2025
Control-character injection in Shadow 4.13 allows local users to falsify how /etc/passwd entries appear in terminal output. Shadow's field validation accepts carriage returns and Unicode lookalikes in chfn-supplied GECOS fields, so terminal rendering overwrites visible text and disguises blocked colons. A local account that can run the SUID chfn utility is required; the forged display can mislead an administrator into shutting down the system, but it does not create an account.
Summary
What happened
Control-character injection in Shadow 4.13 allows local users to falsify how /etc/passwd entries appear in terminal output. Shadow's field validation accepts carriage returns and Unicode lookalikes in chfn-supplied GECOS fields, so terminal rendering overwrites visible text and disguises blocked colons. A local account that can run the SUID chfn utility is required; the forged display can mislead an administrator into shutting down the system, but it does not create an account.
The record
- CVE
- CVE-2023-29383
- Published
- Apr 14, 2023
- Updated
- Nov 3, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-125, CWE-74, T1565.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 14, 2023CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- CVE-2023-29383 Abusing Linux chfn to Misrepresent /etc/passwdproof of concept · unverified
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