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 2024/07/16 08:58:18 UTC

[Bug 69199] New: Fix for CVE-2024-38474 also blocks %3f in ignored query string

https://bz.apache.org/bugzilla/show_bug.cgi?id=69199

            Bug ID: 69199
           Summary: Fix for CVE-2024-38474 also blocks %3f in ignored
                    query string
           Product: Apache httpd-2
           Version: 2.4.60
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite
          Assignee: bugs@httpd.apache.org
          Reporter: apache-bugzilla@michael-kaufmann.ch
  Target Milestone: ---

This is similar to bug 69197.


Virtual Host configuration:

RewriteRule ^/a$ /b?x=1 [R=302,L]


This request is answered with status code 403:

http://localhost/a?y=%3f


So the request is blocked because the original request URL contains "%3f" and
the new URL contains a "?". But this rewrite rule does not use the query string
of the original request at all. The new URL contains a "?" because there is a
"?" in the substitution string "/b?x=1". mod_rewrite is too strict here.

-- 
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 69199] Fix for CVE-2024-38474 also blocks %3f in ignored query string

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

Michael Kaufmann <ap...@michael-kaufmann.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Michael Kaufmann <ap...@michael-kaufmann.ch> ---
The fix for bug 69197 also fixes this bug.

*** This bug has been marked as a duplicate of bug 69197 ***

-- 
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 69199] Fix for CVE-2024-38474 also blocks %3f in ignored query string

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

Michael Kaufmann <ap...@michael-kaufmann.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
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