CVE-2023-29383
Last modified
CVE-2023-29383 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. In Shadow 4.13, it is possible to inject control characters into fields provided to the SUID program chfn (change finger). Although it is not possible to exploit this directly (e.g., adding a new user fails because \n is in the block list), it is possible to misrepresent the /etc/passwd file when viewed. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
Description
In Shadow 4.13, it is possible to inject control characters into fields provided to the SUID program chfn (change finger). Although it is not possible to exploit this directly (e.g., adding a new user fails because \n is in the block list), it is possible to misrepresent the /etc/passwd file when viewed. Use of \r manipulations and Unicode characters to work around blocking of the : character make it possible to give the impression that a new user has been added. In other words, an adversary may be able to convince a system administrator to take the system offline (an indirect, social-engineered denial of service) by demonstrating that "cat /etc/passwd" shows a rogue user account.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Shadow Project | Shadow | 4.13 |
References
- https://github.com/shadow-maint/shadow/pull/687Issue Tracking
- https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797Exploit, Third Party Advisory
- https://github.com/shadow-maint/shadow/pull/687Issue Tracking
- https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-29383?
How severe is CVE-2023-29383?
How do I fix CVE-2023-29383?
Are you affected by CVE-2023-29383?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
