Bug 245564
Summary: | localhost.localdomain open for access | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Denise Dumas <ddumas> |
Component: | squid | Assignee: | Martin Nagy <mnagy> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 5.0 | CC: | hripps |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-22 15:19:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Florian La Roche
2007-06-25 13:39:25 UTC
apache does a double reverse DNS lookup: " Example: Allow from apache.org Hosts whose names match, or end in, this string are allowed access. Only complete components are matched, so the above example will match foo.apache.org but it will not match fooapache.org. This configuration will cause the server to perform a double reverse DNS lookup on the client IP address, regardless of the setting of the HostnameLookups directive. It will do a reverse DNS lookup on the IP address to find the associated hostname, and then do a forward lookup on the hostname to assure that it matches the original IP address. Only if the forward and reverse DNS are consistent and the hostname matches will access be allowed." Therefore this isn't a security issue unless attacker also has access to local DNS so that (anything).localhost.localdomain points to them. Adding access to IPv4 _and_ IPv6 might be another reason to change this. Some other rpms do that already, some also then hardcode 127.0.0.1 only. regards, Florian La Roche No need to keep this bz open for too long. ;-) Just decide if the current config should stay or if you want to change it and then close this bz. regards, Florian La Roche Closing as NOTABUG since this is not really an issue as pointed out by Mark. |