[openssh] [CVE-2008-1657] possibility to bypass global "ForceCommand" directive

Bug #227322 reported by disabled.user
256
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Fix Released
Undecided
Colin Watson
Declined for Dapper by Kees Cook
Declined for Feisty by Kees Cook
Gutsy
Fix Released
Low
Kees Cook
Hardy
Fix Released
Undecided
Colin Watson
Intrepid
Fix Released
Undecided
Colin Watson

Bug Description

Quoting CVE-2008-1657:
"OpenSSH before 4.9 allows remote authenticated users to bypass the sshd_config ForceCommand directive by modifying the .ssh/rc session file."

CVE References

Revision history for this message
Colin Watson (cjwatson) wrote :

Already fixed in Hardy/Intrepid and backported to earlier releases. Please look at the changelog as well as just the version number!

openssh (1:4.7p1-8) unstable; urgency=high

  * Fill in CVE identifier for security vulnerability fixed in 1:4.7p1-5.
  * Rename KeepAlive to TCPKeepAlive in sshd_config, cleaning up from old
    configurations (LP: #211400).
  * Tweak scp's reporting of filenames in verbose mode to be a bit less
    confusing with spaces (thanks, Nicolas Valcárcel; LP: #89945).
  * Backport from 4.9p1:
    - Ignore ~/.ssh/rc if a sshd_config ForceCommand is specified (see
      http://www.securityfocus.com/bid/28531/info).
    - Add no-user-rc authorized_keys option to disable execution of
      ~/.ssh/rc.
  * Backport from Simon Wilkinson's GSSAPI key exchange patch for 5.0p1:
    - Add code to actually implement GSSAPIStrictAcceptorCheck, which had
      somehow been omitted from a previous version of this patch (closes:
      #474246).

 -- Colin Watson <email address hidden> Sun, 06 Apr 2008 12:34:19 +0100

I believe this is already on the security team's list for earlier releases.

Changed in openssh:
status: New → Fix Released
assignee: nobody → kamion
Revision history for this message
disabled.user (disabled.user-deactivatedaccount) wrote :

So many things to check... Okay. Just checked at packages.ubuntu.com.

Regarding CVE-2008-1657
- there is no USN
- nothing is mentioned in the changelogs of the corresponding packages for Dapper/Feisty/Gutsy

The last update on those packages are from Kees on April 1st for CVE-2008-1483 as I see it; Hardy and Intrepid indeed have CVE-2008-1657 in the changelog.

Revision history for this message
Kees Cook (kees) wrote :

Did not apply to Dapper or Feisty. Already fixed in Hardy and Intrepid. USN published for Gutsy: http://www.ubuntu.com/usn/usn-649-1

Changed in openssh:
assignee: nobody → kamion
status: New → Fix Released
assignee: nobody → kees
importance: Undecided → Low
status: New → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.