You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/08/04 23:31:10 UTC

[Bug 55352] New: matches even if just a prefix string is matched

https://issues.apache.org/bugzilla/show_bug.cgi?id=55352

            Bug ID: 55352
           Summary: <Proxy> matches even if just a prefix string is
                    matched
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: calestyo@scientia.net

Hi.

The <Proxy> directive, matches even if just a prefix string is matched, e.g.
having:

       <Location "/foobar">
                ProxyPass "http://localhost:11371/foobar"
        </Location>

        <Proxy http://localhost:11371/foo>
                Order allow,deny
                Allow from all
        </Proxy>


Will grant the access as http://localhost:11371/foo is a prefix of
http://localhost:11371/foobar.

Whil one would expect this for the ProxyMatch version, it contradicts any
behaviour of all the other <foo> vs. <fooMatch> blocks.



Similarly, "*" in case of <Proxy> seems to also match "/", again "*" in all
other blocks (not talking about the fooMatch blocks of course) doesn't.


Cheers,
Chris.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55352] matches even if just a prefix string is matched

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55352

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|mod_proxy                   |Documentation
         Resolution|---                         |FIXED
           Assignee|bugs@httpd.apache.org       |docs@httpd.apache.org

--- Comment #2 from Eric Covener <co...@gmail.com> ---
backported trunk docs to describe the matching behavior as different from
<Location>

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 55352] matches even if just a prefix string is matched

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55352

Christoph Anton Mitterer <ca...@scientia.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |critical

--- Comment #1 from Christoph Anton Mitterer <ca...@scientia.net> ---
Escalating severity, as this is IMHO quite some security problem, as it will
typically allow access to content that should not be accessible.

IMHO a CVE needs to be registered for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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