Description
This module exploits the mod_rewrite LDAP protocol scheme handling flaw discovered by Mark Dowd, which produces an off-by-one overflow. Apache versions 1.3.29-36, 2.0.47-58, and 2.2.1-2 are vulnerable. This module requires REWRITEPATH to be set accurately. In addition, the target must have 'RewriteEngine on' configured, with a specific 'RewriteRule' condition enabled to allow for exploitation.
The flaw affects multiple platforms, however this module currently only supports Windows based installations.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/http/apache/mod_rewrite_ldapmsf undefined(mod_rewrite_ldap) > show actions ...actions...msf undefined(mod_rewrite_ldap) > set ACTION < action-name >msf undefined(mod_rewrite_ldap) > show options ...show and set options...msf undefined(mod_rewrite_ldap) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub