Skip to content

GrabWP Restore v1.0.3

Choose a tag to compare

@taicv taicv released this 08 Sep 04:27
· 2 commits to main since this release

Highlights

Security overhaul. Uploaded archives and job state stored in private system temp, never under web-accessible uploads. database.sql streamed from ZIP without extraction. WP_Filesystem used throughout. Archive path/symlink/compression validation before any write.

Security

  • Private system-temp storage with hash-named per-site subdirectory
  • ZIP integrity verified with ZipArchive::CHECKCONS
  • WordPress core ZIP upload validation replaces chunked assembly
  • Archive path validation (no traversal, symlinks, null bytes, drive letters)
  • Compression-ratio bomb detection
  • SQL preflight against site-table and operation allowlists
  • Job token stored as one-way hash with failure throttling
  • Executable/config entries skipped under uploads restore
  • Multisite restore disabled

Change

  • Chunked upload removed; server upload_max_filesize / post_max_size now apply

Upgrade Notes

Action required if you relied on chunked uploads for archives larger than your PHP limits. Adjust upload_max_filesize and post_max_size or use a server-level workaround.