SIM-PKH 2.4.1 Arbitrary File Upload Vulnerability (CVE-2018-25409)
SIM-PKH 2.4.1 contains an arbitrary file upload vulnerability (CVE-2018-25409) that allows authenticated attackers to upload malicious PHP files via the fupload parameter through the aksi_pengurus.php endpoint, leading to remote code execution.
SIM-PKH 2.4.1 is vulnerable to an arbitrary file upload vulnerability (CVE-2018-25409). Authenticated attackers can exploit this vulnerability by uploading malicious PHP files through the fupload parameter. The vulnerability exists within the aksi_pengurus.php endpoint, specifically when processing requests with module=pengurus and act=update parameters. Successful exploitation allows attackers to store PHP files in the foto directory, which are then executed as web scripts, potentially leading to remote code execution on the server. This poses a significant risk to organizations using the vulnerable software, as it could lead to complete compromise of the system.
Attack Chain
- The attacker authenticates to the SIM-PKH application.
- The attacker crafts a malicious PHP file containing shell commands.
- The attacker sends a POST request to
aksi_pengurus.phpwithmodule=pengurusandact=update. - The POST request includes the malicious PHP file in the
fuploadparameter. - The application saves the uploaded PHP file in the
fotodirectory. - The attacker determines the path to the uploaded file within the
fotodirectory. - The attacker sends an HTTP request to the uploaded PHP file.
- The server executes the PHP code, granting the attacker remote code execution.
Impact
Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the web server hosting SIM-PKH 2.4.1. This could lead to complete system compromise, including data theft, defacement of the website, or the deployment of further malicious payloads. The impact is significant due to the potential for unauthorized access and control of the affected system. There are no specific victim counts or sector information available from the provided source.
Recommendation
- Apply available patches or upgrade to a secure version of SIM-PKH to remediate CVE-2018-25409.
- Implement the Sigma rule
Detect SIM-PKH Arbitrary File Upload (CVE-2018-25409)to detect malicious file uploads. - Monitor web server logs for POST requests to
aksi_pengurus.phpcontaining PHP code in thefuploadparameter. - Implement the Sigma rule
Detect SIM-PKH PHP File Execution in foto Directory (CVE-2018-25409)to detect access attempts to uploaded PHP files.
Detection coverage 2
Detect SIM-PKH Arbitrary File Upload (CVE-2018-25409)
highDetects CVE-2018-25409 exploitation — attempts to upload PHP files to the SIM-PKH application via the fupload parameter.
Detect SIM-PKH PHP File Execution in foto Directory (CVE-2018-25409)
criticalDetects CVE-2018-25409 exploitation — access attempts to PHP files located in the foto directory, which may indicate successful exploitation of the file upload vulnerability.
Detection queries are available on the platform. Get full rules →