Bug 208248 - CVE-2003-0386 host based access bypass
CVE-2003-0386 host based access bypass
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: openssh (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
: Security
Depends On:
  Show dependency treegraph
Reported: 2006-09-27 08:02 EDT by Josh Bressers
Modified: 2007-11-30 17:06 EST (History)
1 user (show)

See Also:
Fixed In Version: RHSA-2006-0698
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-28 20:24:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0698 normal SHIPPED_LIVE Important: openssh security update 2006-09-28 00:00:00 EDT

  None (edit)
Description Josh Bressers 2006-09-27 08:02:31 EDT
+++ This bug was initially created as a clone of Bug #164661 +++

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414

Description of problem:
The OpenSSH server included with RHEL 3.0 (apparently all updates) is vulnerable
to CAN-2003-0386. Apparently the fix for this vulnerability has never been
backported into Red Hat's openssh-server-3.6.1p2 RPMs.

An attacker can bypass IP-based AllowUser restrictions in the
/etc/ssh/sshd_config file if the attacker controls reverse DNS for his system by
providing a reverse DNS hostname for his machine which is the IP address allowed
by the AllowUser restriction.

This vulnerability can be mitigated by turning on VerifyReverseMapping, but this
is turned off by default.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add an AllowUser restriction to /etc/ssh/sshd_config. 

AllowUser *@

2. Restart sshd.

% service sshd restart

3. Set up reverse DNS to return the allowed IP address for a different machine.    

% host domain name pointer

4. From the remote host which should be disallowed, ssh to the vulnerable host.

Actual Results:  Login is allowed via ssh.

Expected Results:  The user should receive a "permission denied" message and the
login should be disallowed.

Additional info:

-- Additional comment from mjc@redhat.com on 2005-08-01 10:58 EST --
Note: At the time of announcement the official response was:  "If you depend on
IP or DNS based access control, make sure VerifyReverseMapping is turned on in
your sshd_config file."

Comment 4 Red Hat Bugzilla 2006-09-28 20:24:17 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.