PHP check: host php-fpm + PHP inside containers #3
Labels
No labels
bug
docs
feature
human-input-needed
prio
high
prio
low
prio
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
shukutils/shukelematik#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wanted after PHP2Shell (CVE-2026-109618/-109619, Oct 2026): the next time a PHP hole drops, "which hosts run which PHP" should be a report query, not an ssh sweep over every server.
What to report per host:
php*-fpmunit with version (/usr/sbin/php-fpmX.Y -v), enabled/activedocker exec <c> php -r 'echo PHP_VERSION;'for containers that have PHP (the docker check already lists containers)shk_php2shell_servers statusin aperture-dotsphp2shell/, which does this already)Open question: hard-code "patched yes/no" thresholds (like the php2shell script) or just report versions and judge centrally? Reporting versions only seems cleaner; the judging belongs where the CVE data is.
Reference implementation: aperture-dots
php2shell/php2shell_servers.sh(fpm_version,php_containers,app_images).Payload spec change, so a minor version bump when it's implemented (ask first).