Description
This module exploits a PHP function-call injection in SPIP's template engine. The analyse_resultat_skel() function extracts <?php header("X-Spip-Filtre: ..."); ?> patterns from the rendered page body and calls the listed functions as template filters.
A newline character is injected into a GET parameter value, which places a header() call on its own line inside the compiled PHP template. The filter chain intval|_request|system reads a shell command from a POST parameter and executes it.
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/multi/http/spip/x_spip_filtre_rcemsf undefined(x_spip_filtre_rce) > show actions ...actions...msf undefined(x_spip_filtre_rce) > set ACTION < action-name >msf undefined(x_spip_filtre_rce) > show options ...show and set options...msf undefined(x_spip_filtre_rce) > 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