Symfony HttpFoundation RequestMatcher HTTP HEAD Request Access Bypass
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XIn Symfony http-foundation prior to versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11, RequestMatcher and MethodRequestMatcher compare the incoming HTTP method verbatim while the router dispatches HEAD requests to GET handlers, allowing attackers to bypass firewalls or rules scoped strictly to GET requests.