WeGIA affected by arbitrary file read via symlink in backup restore
LabRedesCefetRJ WeGIA
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| LabRedesCefetRJ WeGIA |
| No fix yet |
Original 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.
From the CVE record · GitHub_M