2.3 KiB
2.3 KiB
Security
Reporting a vulnerability
Open a private issue on https://git.jumphp.net/jumphp/jumPhp, or write to the maintainer through the forge. Please give the file, the line and a way to reproduce it.
Fixed
- 0.5.66 — the engine's web page sent what PHP prints (and its other messages to the framing page) to
'*': any site framing a published game could read it; it now goes to the parent's origin only. The embed kit (tools/embed/jumphp-embed.php) kept every?v=...variant on disk with no limit (a visitor could fill the partner's disk):cache_mb(default 1024) now bounds it.Icmprefuses a host starting with-(it would be an option of the system'sping). - 0.5.65 —
bin/jumphp runner:installandwebshotpasted values intosh -c(shell injection through--forge,--labels, the registration token, webshot keys): they are now passed as arguments, and validated.
To audit (not done yet)
Deeper reviews left for later (they need a dedicated pass each):
- The playground (https://git.jumphp.net/jumphp/jumphp-playground): sign-in, uploads and private files, the TCP / SSH / UDP /
ICMP bridge and its tickets, the MCP server and its tokens, the administration, custom domains, the embed API (
/api/embed/...: does it answerCache-Control: immutablefor any?v=value?), framing headers (frame-ancestors) of the play pages. - The JumPHP runtime (
apps/runtime, ~2900 lines, andapps/runtime-android,WsServer.kt): a local WebSocket server any web site can try to reach. Host / Origin / ticket / consent checks were looked at quickly and look right; to review in depth: the origin allow-list, ticket verification (replay, expiry, key rotation), the private / reserved address filtering after DNS resolution (rebinding between check and connect), limits,grants.jsonhandling, self-update signature. - postMessage listeners of
engine/web/: they checkevent.source === window.parentbut not the parent's origin (harmless messages today: hot reload re-reads the server, notification state, install info); add an origin check if a message ever carries data or commands. - Tauri apps (
engine/src/Tauri,tauri/): what a page can ask natively (native.*,Shell::openPath) when an app shows remote content.