Description
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.
Problem types
CWE-59: Improper Link Resolution Before File Access ('Link Following')
Product status
References
github.com/.../WeGIA/security/advisories/GHSA-6mmm-27h8-8g55
github.com/...ommit/79e7a164eddb527e3b331037b7a4defb8c115d50