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,536 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

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. Subdreamer Light Global Variables SQL Injection Vulnerability // 34 views
2. CA ARCserve Backup Multiple Vulnerabilities // 24 views
3. FUJITSU Interstage Products Apache Tomcat Security Bypass // 24 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 23 views
5. Zeroboard Multiple Vulnerabilities // 19 views
6. CUPS Multiple Vulnerabilities // 18 views
7. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 17 views
8. Gentoo Portage Insecure Python Module Search Path Security Issue // 16 views
9. Zeroboard Multiple Script Insertion Vulnerabilities // 15 views
10. Fedora update for condor // 15 views