Page MenuHomePhorge

Configuration Guide: Set UnsafeAllow3F for Apache RewriteRule
ClosedPublic

Authored by aklapper on Jul 22 2024, 21:11.
Tags
None
Referenced Files
F3775100: D25739.1745859108.diff
Sun, Apr 27, 16:51
F3772147: D25739.1745855751.diff
Sun, Apr 27, 15:55
F3762880: D25739.1745835758.diff
Sun, Apr 27, 10:22
F3741503: D25739.1745766250.diff
Sat, Apr 26, 15:04
F3622337: D25739.1745324009.diff
Mon, Apr 21, 12:13
F3605045: D25739.1745251468.diff
Sun, Apr 20, 16:04
F3496304: D25739.1744789579.diff
Tue, Apr 15, 07:46
F3401970: D25739.1744565560.diff
Sat, Apr 12, 17:32

Details

Summary

Since Apache HTTP Server 2.4.61 including https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c?r1=1918560&r2=1918561&pathrev=1918561&diff_format=h due to https://www.cve.org/CVERecord?id=CVE-2024-38474, URIs including %3F throw a HTTP 403 error and the following error log entry:

AH10508: Unsafe URL with %3f URL rewritten without UnsafeAllow3F

Update the corresponding RewriteRule in the Phorge configuration guide to explicitly set UnsafeAllow3F.

https://httpd.apache.org/docs/2.4/rewrite/flags.html#flag_unsafe_allow_3f

Closes T15889

Test Plan

Run Apache HTTP Server 2.4.61, go to https://phorge.localhost/maniphest/task/edit/form/default/?title=%3f and get a HTTP 403 (before) or a "?" as task title (after).

Diff Detail

Repository
rP Phorge
Branch
apache3F
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1449
Build 1449: arc lint + arc unit