
PEACH
Un framework di isolamento del tenant
The File.Move and File.Copy bridge functions are exposed in the JS bridge, so pages may call them, and they took absolute from/to paths with no confinement; an existing destination is deleted before the write.
A page can rename or overwrite files anywhere in the app sandbox (the SQLite database, caches, the app bundle), and it can copy a readable in-sandbox file into public/ and read it back through /_assets/ if it knows the app's absolute container path. The concrete target is the SQLite database. On a device the app key is held in the Keychain/Keystore, not .env, so credential theft is a lesser concern than data loss and tampering. No code execution was shown with core primitives alone.
Fix. Paths are canonicalised (symlinks and .. resolved) and confined to the app's real persistent storage (storage_path('app')), with public/, .env, the database, bootstrap/cache, storage/framework and storage/logs refused. Legitimate capture-to-storage moves still work.
The native File.Move/File.Copy sink exists only in the 4.x core line. On 3.x core a page call is a no-op. Apps on the 3.x line that installed the separate nativephp/mobile-file plugin get the same flaw from that package, which is addressed under its own advisory.
Note. This includes native (Swift/Kotlin/C) changes, which only reach an installed app after native:install --force and a rebuild. Update the Composer package and rebuild the app.
Discovered by the researcher acd421 and reported in good faith by RedEye Security. Write-up: https://threat-intelligence.redeyesecurity.com/blog/php2shell-part-two-surviving-php-flaws-2026
Fonte: NVD
Valutazione gratuita delle vulnerabilità
Valuta le tue pratiche di sicurezza del cloud in 9 domini di sicurezza per stabilire un benchmark del tuo livello di rischio e identificare le lacune nelle tue difese.
Richiedi una demo personalizzata
"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."