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.
Vulnerability
CVE-2023-46818
Vulnerability details
- Score
- 7.2
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HDescription
An issue was discovered in ISPConfig before 3.2.11p1. PHP code injection can be achieved in the language file editor by an admin if admin_allow_langedit is enabled.
CVE ProgramExploit source choices
9 sourcesCVE-2023-46818 IPSConfig Python exploit
CVE-2023-46818 Python3 Exploit for ISPConfig <= 3.2.11 (language_edit.php) PHP Code Injection Vulnerability
An issue was discovered in ISPConfig before 3.2.11p1. PHP code injection can be achieved in the language file editor by an admin if admin_allow_langedit is enabled.
This is my own exploit for CVE-2023-46818 happy hacking!
CVE-2023-46818 - ISPConfig PHP Code Injection PoC Exploit (Bash)
CVE-2023-46818 Python3 Exploit for Backdrop CMS <= 1.22.0 Authenticated Remote Command Execution (RCE)
CVE-2023-46818 | PoC | ISPConfig 3.2.11p1
cuerv0x/cve_2023_46818 source repository