Secunia Logo
Netsikker nu! 2008
 
OpenSSH IP address restriction bypass
Secunia Advisory: SA8974
Release Date: 2003-06-09
Last Update: 2003-10-29
Popularity: 13,509 views

Critical:
Not critical
Impact: Security Bypass
Where: From remote
Solution Status: Vendor Patch

Software:OpenSSH 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2003-0386


Description:
A vulnerability has been identified in OpenSSH allowing users to access the system from IPs that they where not supposed to.

OpenSSH allows system administrators to limit access to the service based on hostnames or IP addresses. This may be configured so that specific users may only connect from certain IP addresses or hostnames.

The problem is that OpenSSH doesn't know when the restriction applies to a hostname or an IP. This allows users who controls the reverse DNS answer for their IP address to change their hostname so that it matches an IP address.

This affects versions 3.6.1 and earlier.

NOTE: This does not allow users to connect and authenticate with the service unless they have obtained a valid key or username / password.

Solution:
Do never rely on IP filtering at application level. Always apply IP restrictions using a perimeter firewall, router, iptables or similar.

OpenSSH version 3.6.1 and earlier support the "VerifyReverseMapping" option, which provides an additional verification of the hostname / IP address.

Provided and/or discovered by:
Mike Harding

Other References:
http://www.kb.cert.org/vuls/id/978316


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 8
New vulnerabilities: 27
Updated advisories: 11

Highly // 80 views
Opera Multiple Vulnerabilities
Moderately // 82 views
Red Hat update for condor
Moderately // 79 views
Condor Multiple Vulnerabilities
Moderately // 100 views
Gentoo update for wordnet
Moderately // 111 views
Red Hat update for kernel

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 61

Moderately // 472 views
Debian update for php5
Moderately // 369 views
Atarone CMS Multiple Vulnerabilities

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Red Hat update for kernel // 92 views
2. Adobe Flash Player "Clickjacking" Security Bypass Vulnerability // 92 views
3. Gentoo update for wordnet // 83 views
4. Red Hat update for condor // 60 views
5. Debian update for php5 // 59 views
6. Condor Multiple Vulnerabilities // 57 views
7. Hero DVD Player M3U Processing Buffer Overflow Vulnerability // 50 views
8. Zeroboard Multiple Vulnerabilities // 50 views
9. Atarone CMS Multiple Vulnerabilities // 37 views
10. Zeroboard Two Vulnerabilities // 37 views