Skip to content

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
openWB:masterfrom
MartinRinas:PHP

Conversation

@MartinRinas

Copy link
Copy Markdown
Contributor

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, /ws MQTT 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, enable and --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)

…plement-option-2

Add reversible web-PHP containment script
@kevinwieland

Copy link
Copy Markdown
Contributor

Anstatt es zu deaktivieren kann eine gepatchte PHP Version installiert werden:

#4162 (reply in thread)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants