vendor:
Serendipity
by:
Mirabbas Agalarov
7.5
CVSS
HIGH
Remote Code Execution (RCE) (Authenticated) via file upload
CWE
Product Name: Serendipity
Affected Version From: 2.4.2000
Affected Version To: 2.4.2000
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested: Linux
2023
Serendipity 2.4.0 – Remote Code Execution (RCE) (Authenticated)
If we load the poc.phar file in the image field while creating a category, we can run commands on the system. The exploit uses the payload '<?php echo system("cat /etc/passwd"); ?>' to execute the 'cat /etc/passwd' command on the system. The file with the payload is uploaded with a .phar extension.
Mitigation:
Patch/update to the latest version of Serendipity to fix the vulnerability.