/bin/ls with gid=0 in Debian linux-ftpd

Credit: Paul Szabo
Risk: Medium
Local: Yes
Remote: No
CWE: CWE-Other

CVSS Base Score: 8.5/10
Impact Subscore: 10/10
Exploitability Subscore: 6.8/10
Exploit range: Remote
Attack complexity: Medium
Authentication: Single time
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

Mea culpa. A stupid little bug crept into linux-ftpd for Debian, and some other Linux distros. Some may have fixed it, but Debian hasn't. The effect is that ftpd now runs /bin/ls (for DIR and similar commands) with GID=0. Does not seem terribly dangerous as I do not seem able to trick ls into running anything, nor are there any interesting objects thusly accessible. Would become a "root hole" if someone finds a way to execute anything from /bin/ls (as started from ftpd). Please see http://bugs.debian.org/384454 for details. Cheers, Paul Szabo psz (at) maths.usyd.edu (dot) au [email concealed] http://www.maths.usyd.edu.au/u/psz/ School of Mathematics and Statistics University of Sydney Australia

Vote for this issue:


Thanks for you vote!


Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.

(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2021, cxsecurity.com


Back to Top