Documentation
¶
Overview ¶
Package phpruntime flags a target running an outdated PHP runtime that is vulnerable to the "php2shell" flaws — CVE-2026-109618 and CVE-2026-109619, two critical (CVSS 9.2) unauthenticated remote-code-execution bugs in PHP core, fixed on 2026-10-21 in PHP 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12.
It reads the PHP version from the live app's Server / X-Powered-By headers and from a repo's Dockerfile base image (FROM php:<version>), then compares it against the fixed releases. Safe mode: a single GET plus reading repo files.
Refs:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PHP2Shell ¶
type PHP2Shell struct{}
PHP2Shell checks the detected PHP runtime version against the php2shell fixes.
func (PHP2Shell) Description ¶
Click to show internal directories.
Click to hide internal directories.