module

Invision Community 5.0.6 customCss RCE

Disclosed
May 16, 2025
Created
May 21, 2025

Description

Invision Community up to and including version 5.0.6 contains a remote code
execution vulnerability in the theme editor's customCss endpoint. By crafting
a specially formatted `content` parameter with a `{expression="…"}`
construct, arbitrary PHP can be evaluated. This module leverages that flaw
to execute payloads or system commands as the webserver user.

Authors

Egidio Romano (EgiX)
Valentin Lobstein

Platform

Linux,PHP,Unix,Windows

Architectures

php, cmd

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/invision_customcss_rce
msf exploit(invision_customcss_rce) > show targets
...targets...
msf exploit(invision_customcss_rce) > set TARGET < target-id >
msf exploit(invision_customcss_rce) > show options
...show and set options...
msf exploit(invision_customcss_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.