Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


OpenSSH IP address restriction bypass Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA8974  
Release Date: 2003-06-09
Last Update: 2003-10-29

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

Software:OpenSSH 3.x

CVE reference:CVE-2003-0386 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


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



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.

9 Related Secunia Security Advisories

1. OpenSSH Privilege Separation Monitor Weakness
2. OpenSSH Signal Handling Vulnerability and User Enumeration Weakness
3. OpenSSH Identical Blocks Denial of Service Vulnerability
4. OpenSSH scp Command Line Shell Command Injection
5. OpenSSH Two Security Issues
6. OpenSSH PAM implementation Vulnerability
7. OpenSSH "buffer_append_space()" Buffer Management Vulnerability
8. OpenSSH User Identification Vulnerability
9. OpenSSH allows root to read users passwords


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenOffice "rtl_allocateMe mory()" Truncation Vulnerability
2.
HP-UX update for Apache
3.
R "javareconf" Insecure Temporary Files
4.
Ampache "gather-message s.sh" Insecure Temporary Files
5.
Honeyd "test.sh" Insecure Temporary Files
6.
Tiger "genmsgidx" Insecure Temporary Files
7.
Quick Poll "id" SQL Injection Vulnerability
8.
JustSystems Ichitaro Products Unspecified Code Execution Vulnerability
9.
Red Hat Directory Server Multiple Vulnerabilities
10.
Red Hat update for adminutil





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia