Apache 2.4.60+ and phpBB 3.3.x

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Anti-Spam Guide
Eisrose
Registered User
Posts: 1
Joined: Wed Jul 17, 2024 9:07 pm

Apache 2.4.60+ and phpBB 3.3.x

Post by Eisrose »

Since Apache version 2.4.60 (from July 3rd) it is no longer allowed to encode question marks in the URL with %3F. Question marks encoded with %3f produce a 403 error. This affects the Apache standard settings.

Various phpBB pages produce an URL in which the question mark is encoded with %3f in the redirect variable. We now get a 403 error there. This affects various moderator functions at the bottom of the page and the login from a subpage.

If you have access to the Apache settings, this error can be switched off using "UnsafeAllow3F". But this is not possible with packages from a hoster and they are usually not willing to change the Apache standard settings.

Is this already known and is something being done about it?
Last edited by thecoalman on Wed Jul 17, 2024 10:51 pm, edited 1 time in total.
Reason: Moved to phpBB Discussion
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6703
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Apache 2.4.60+ and phpBB 3.3.x

Post by thecoalman »

Bugs should be reported to bug tracker. I don't see anything reported about it.

http://tracker.phpbb.com/
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2572
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Apache 2.4.60+ and phpBB 3.3.x

Post by P_I »

The Apache change is to deal with CVE-2024-38474. It is covered in https://httpd.apache.org/docs/current/r ... e_allow_3f
Apache wrote:Setting this flag is required to allow a rewrite to continue If the HTTP request being written has an encoded question mark, '%3f', and the rewritten result has a '?' in the substitution. This protects from a malicious URL taking advantage of a capture and re-substitution of the encoded question mark.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
Eisrose
Registered User
Posts: 1
Joined: Wed Jul 17, 2024 9:07 pm

Re: Apache 2.4.60+ and phpBB 3.3.x

Post by Eisrose »

Can I just enter this into the bug tracker?
Last edited by Eisrose on Wed Jul 17, 2024 11:12 pm, edited 1 time in total.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 705
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: Apache 2.4.60+ and phpBB 3.3.x

Post by danieltj »

Eisrose wrote: Wed Jul 17, 2024 11:09 pm Can I just enter this into the bug tracker?
Yes. If no one else has made a report in the bug tracker about it yet then feel free to create a ticket yourself. Even if you don’t write any code to address the issue, opening a ticket is still valuable.

Just make sure to include plenty of detail.
MY EXTENSIONS:
Verified Profiles | API | Awesome Payments

OPEN SOURCE:
Sponsor me on GitHub | Lead developer for Neptune

Return to “phpBB Discussion”