Nixpkgs Security Tracker

Login with GitHub

Suggestion detail

Untriaged
created 1 week, 2 days ago
WeGIA affected by arbitrary file read via symlink in backup restore

WeGIA is a web manager for charitable institutions. In 3.6.5, The patched loadBackupDB() extracts tar.gz archives to a temporary directory using PHP's PharData class, then uses glob() and file_get_contents() to read SQL files from the extracted contents. Neither the extraction nor the file reading validates whether archive members are symbolic links. This vulnerability is fixed in 3.6.6.

Affected products

WeGIA
  • ==>= 3.6.5, < 3.6.6

Matching in nixpkgs