Repository navigation
Adds a reversible Bash script to contain web-facing PHP2Shell exposure (**CVE-2026-109618**, **CVE-2026-109619**) by unloading Apache PHP, denying PHP source access and disabling the optional PHP HTTP API - #4180
Open
MartinRinas wants to merge 1 commit into
Conversation
…plement-option-2 Add reversible web-PHP containment script
Contributor
|
Anstatt es zu deaktivieren kann eine gepatchte PHP Version installiert werden: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PHP2Shell containment
Adds a reversible Bash script to contain web-facing PHP2Shell exposure (CVE-2026-109618, CVE-2026-109619) by unloading Apache PHP, denying PHP source access and disabling the optional PHP HTTP API.
Preserves the static dashboard, ordinary browser controls,
/wsMQTT proxy and PHP CLI. Charging services are unchanged.Unavailable while disabled: restore/migration uploads, PHP CSV export, Tesla/Mercedes authorization, legacy SmartHome configuration, certain Pro/Pro+ firmware-update buttons and the optional HTTP API.
Supports
disable,enableand--debug, with saved rollback state and configuration/module/HTTP validation.Temporary containment—not a security patch. Standard openWB/mod_php installations only; no automatic startup/settings integration. Verify charging and primary/secondary communication after applying.
based on this conversation #4162 (reply in thread)