Created on
04-19-2023
07:32 AM
Edited on
04-19-2023
07:34 AM
By
Stephen_G
Description |
This article describes how to use a custom event handler in FortiAnalyzer to raise alerts for incident response related to attacks that attempt to leverage the ThinkPHP Remote Code Execution Vulnerability. A report is also provided to gain historical visibility into logs. |
Scope | This article contains the files necessary to load an event handler and report into FortiAnalyzer for either a Fabric ADOM or a FortiGate ADOM. The Fabric report and event handler leverage logs from other Fortinet products that can be used to detect the attack in addition to FortiGate logs. |
Solution |
What is included in Fortinet_ThinkPHP Remote Code Execution Vulnerability.zip:
1) ThinkPHP Remote Code Execution Vulnerability_event-handler.json This event handler helps identify ThinkPHP Remote Code Execution Vulnerability detected by FortiGates and other Fortinet products.
2) ThinkPHP Remote Code Execution Vulnerability_report.dat This report displays the findings on ThinkPHP Remote Code Execution Vulnerability attacks from FortiGates and other Fortinet products.
3) fgt_ThinkPHP Remote Code Execution Vulnerability_event-handler.json The event handler for FortiGate ADOMs is configured for FortiGate logs only.
4) fgt_ThinkPHP Remote Code Execution Vulnerability_report.dat The report for FortiGate ADOMs includes FortiGate charts only.
Steps 1) Download the Fortinet_ThinkPHP Remote Code Execution Vulnerability.zip file attached to this article (contains 4 files).
2) Unzip Fortinet_ThinkPHP Remote Code Execution Vulnerability.zip.
3) Import ThinkPHP Remote Code Execution Vulnerability_event-handler.json or fgt_ThinkPHP Remote Code Execution Vulnerability_event-handler.json event handler: - Choose an ADOM (if ADOMs are enabled). The ADOM may have the Fabric or FortiGate type. - Choose the FortiSOC module. - Select Event Handler List. - Select the Import option under More. - Select the appropriate event handler depending on the ADOM type.
Result: The event handler is enabled and will be triggered if the appropriate logs are received following the import of the event handler. Edit the event handler to customize the notification section.
4) Import ThinkPHP Remote Code Execution Vulnerability_report.dat or fgt_ThinkPHP Remote Code Execution Vulnerability_report.dat to Reports: - Choose an ADOM (if ADOMs are enabled). ADOM may be of type Fabric or FortiGate. - Select the appropriate file for the ADOM type to add the report to the ADOM.
Result: The ThinkPHP Remote Code Execution Vulnerability_report can be run anytime as determined by an admin user. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.