{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-29383","id":"CVE-2023-29383","title":"In Shadow 4.13, it is possible to inject control characters into fields provided to the SUID program chfn (change fin…","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","descriptionLong":"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.","published":"2023-04-14T00:00:00.000Z","updated":"2026-10-28T10:38:41.582596526Z","reserved":"2023-04-05T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},"metrics":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"}],"rating":"low","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-125","CWE-74"],"aliases":[],"references":[{"url":"https://github.com/shadow-maint/shadow/pull/687","tags":["x_transferred","Issue Tracking","fix"]},{"url":"https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d","tags":["x_transferred","Patch","fix"]},{"url":"https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797","tags":["x_transferred","Exploit","Third Party Advisory","advisory"]},{"url":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2023-29383-abusing-linux-chfn-to-misrepresent-etc-passwd/","tags":["x_transferred","Exploit","Third Party Advisory","article"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00026.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-202008.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29383.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29383","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00426,"epssPercentile":0.37639,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-29383","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29383","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-29383","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-29383","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}