GitHub - corelight/php2shell-detect: Zeek and Suricata Detections for "php2shell" CVE-2026-109618 and CVE-2026-109619
Corelight's php2shell-detect repository provides Zeek detections and Suricata rules for HTTP indicators associated with "php2shell," tracked as CVE-2026-109618 and CVE-2026-109619, a potential remote code execution issue in PHP longjmp() memory handling. The Zeek package, which requires Zeek 7.0.0 or later and installs via the Zeek Package Manager, inspects POST field-name lengths, selected serialized-data structures, and repeated MIME headers, correlates related suspicious transactions using configured session cookies, and maintains a separate PHP version inventory from response headers; it raises notices such as PHP_Crash_Sequence, Multipart_Header_Flood, Large_Form_Key, the Serialized_* collision and overflow notices, and Potentially_Affected_PHP_Version, writing results to the standard notice.log. Extensive configuration options cover transaction depth, cookie correlation, POST body inspection budgets, notice sample sizes, and version-notice intervals, with provisiona...