{"id":"CVE-2023-29383","aliases":["CVE-2023-29383"],"related":[],"kind":"vulnerability","state":"published","title":"In Shadow 4.13, it is possible to inject control characters into fields provided to the SUID program chfn (change finger).","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-04-14T00:00:00.000Z","modified":"2026-10-14T23:17:17.783Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"}],"cwes":["CWE-74","CWE-125"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"4.13"}],"vendor":"shadow_project","product":"shadow","cpe":"cpe:2.3:a:shadow_project:shadow:4.13:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/shadow-maint/shadow/pull/687","tags":["issue-tracking","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2023-29383-abusing-linux-chfn-to-misrepresent-etc-passwd/","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00026.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-202008.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-02-06T21:21:27.050Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-29383","url":"https://www.cve.org/CVERecord?id=CVE-2023-29383","licence":"CVE Terms of Use","modified":"2026-10-14T22:55:00.155Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-29383","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29383","licence":"Public domain","modified":"2026-10-14T23:17:17.783Z"}],"updatedAt":"2026-11-25T22:58:23.518Z","epss":{"score":0.00426,"percentile":0.38833,"date":"2026-12-01T12:00:22.000Z"}}