|
OpenSSH IP address restriction bypass
|
|
|
|
|
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.
|
|
|
|