| Summary: | internal-sftp does not drop conections properly, it will hang | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | zpbrent <zpbrent> | ||||||
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | CC: | djm | ||||||
| Priority: | P2 | ||||||||
| Version: | 5.2p1 | ||||||||
| Hardware: | Itanium | ||||||||
| OS: | HP-UX | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 1626 | ||||||||
| Attachments: |
|
||||||||
|
Description
zpbrent
2009-06-11 17:25:45 AEST
*** Bug 1605 has been marked as a duplicate of this bug. *** Created attachment 1704 [details]
abort non-subsystem sessions to forced internal sftp-server
I think your proposed fix introduces a security vulnerability - a user could upload a file "internal-sftp" and sshd would execute it, since the SUBSYSTEM_INT_SFTP is no longer set when processing the session.
patch applied - this will be in openssh-5.4 With the release of 5.4p1, this bug is now considered closed. |