
Docker-based reproduction of CVE-2021-41773, the Apache HTTP Server 2.4.49 path traversal and RCE flaw, with httpd.conf setup for testing.
apache http server vulnerability (only works 2.4.49)
httpd.conf
...
<IfModule mpm_prefork_module>
LoadModule cgi_module modules/mod_cgi.so # uncomment this line
</IfModule>
...
<Directory />
AllowOverride none
# Require all denied # comment out this line or set `Require all granted`
</Directory>
...