Description
This module exploits a PHP code injection vulnerability in ISPConfig's language_edit.php file. The vulnerability occurs when the `admin_allow_langedit` setting is enabled, allowing authenticated administrators to inject arbitrary PHP code through the language editor interface.
This module will automatically check if the required `admin_allow_langedit` permission is enabled, and attempt to enable it if it's disabled (requires admin credentials with system configuration access).
The exploit works by injecting a PHP payload into a language file, which is then executed when the file is accessed. The payload is base64 encoded and written using PHP's file_put_contents function.
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/linux/http/ispconfig/lang_edit_php_code_injectionmsf undefined(lang_edit_php_code_injection) > show actions ...actions...msf undefined(lang_edit_php_code_injection) > set ACTION < action-name >msf undefined(lang_edit_php_code_injection) > show options ...show and set options...msf undefined(lang_edit_php_code_injection) > 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