SERVER-WEBAPP -- Snort has detected traffic exploiting vulnerabilities in web based applications on servers.
SERVER-WEBAPP Gitea diffpatch remote code execution attempt
This rule looks for multiple HTTP requests to the Gitea diffpatch API endpoint that attempt to write an executable Git hook. Successful exploitation allows an attacker to write a malicious hook script that can be executed by the server, leading to remote code execution.
This rule fires on attempts to exploit a remote code execution vulnerability in Gitea web applications.
Attacks/Scans seen in the wild
Known false positives, with the described conditions
This rule may alert on multiple quickly succeeding diffpatch requests targeting Git hooks.
Cisco Talos Intelligence Group
Rule Categories::Server::Web Applications
MITRE::ATT&CK Framework::Enterprise::Initial Access::Exploit Public-Facing Application
Vulnerability::Severity::High
Vulnerability::Severity::Critical
Remote File Inclusion
Remote File Inclusion (RFI) attacks occur when a webserver takes a file crafted by an attacker as input and runs or stores it in an unsafe manner. For instance, the webserver could accept an image file that is actually code, then call it to execute after uploading. RFI attacks happen on web applications that dynamically include external files or scripts. A successful RFI can lead to data leaks, remote code execution, or cross site scripting. Avoid dynamic inclusion of user input files, or whitelist files that may be included. Keep the PHP allow_url_include option set to off; this will not protect against Local File Inclusion attacks.
CVE-2026-60004 |
Loading description
|