#VU105694 Input validation error in FortiWeb - CVE-2023-42784
Published: March 13, 2025
FortiWeb
Fortinet, Inc
Description
The vulnerability allows a remote attacker to bypass firewall protection.
The vulnerability exists due to insufficient validation of files. A remote attacker can send a specially crafted HTTP request with an empty filename and bypass implemented firewall rules.
Remediation
Install updates from vendor's website.
MANDATORY steps to enable the fix :
Update to the latest FDS version
Approve signature 050240001
Enable signature policy in corresponding Web Protection Profile, "Say Standard Protection"
Go to Web Protection/Input Validation/File Security/File Security Rule
Click Create New, set name to "file_security"
In "Request URL Type" choose "Regular Expression" in "Request URL"
Add "/" Click "OK"
Go to Web Protection/Input Validation/File Security/File Security Policy
Click Create New
Set a name say file_test
Enable "Signature Detection", Click "OK"
Click "Create New", Select the above added "File Security Rule", Click "OK"
In CLI :
'''
Config waf http-protocol-parameter-restriction
edit "hpc1"
set chunk-size-action alert_deny
set chunk-size-severity High
next
end
'''