httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39495] New: - The Server_Name that is reported does not reflect the ServerName directive that is defined for the vhost
Date Fri, 05 May 2006 17:41:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39495>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39495

           Summary: The Server_Name that is reported does not reflect the
                    ServerName directive that is defined for the vhost
           Product: Apache httpd-2
           Version: 2.0.55
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jameslporter@gmail.com


The Server_Name that is reported does not reflect the ServerName directive that
is defined for the vhost.

<?php $envs = apache_getenv('Server_Name'); print_r($envs); ?>

If you use an alias name (www.website.com) it will report the ServerName is
www.website.com....If the servername is website.com, it should report
website.com. If it is the default Vhost this could lead to XSS attacks(assuming
apache is returning the header as the servername?). If it is comparing that it
is an alias, then the behaviour just needs to change.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message