Directory Traversal and Information Leakage Through Backup in Gigast Smarthome Camera
- Vendor: Gigaset elements GmbH
- Product: Gigaset Smarthome Camera
- Affected Version: Firmware 1.10 (build 20140802)
- Severity: medium
- Short summary: Information leakage through backup function modifying backup image.
The camera configuration interface allows to backup and restore the camera configuration. The backup file can be modified in a way to gather more information from the camera environment (access to system files) after restoring the manipulated backup. The configuration path for the default message body sending an information or alert mail can be redirected to other system paths and files. The content of the redirected file will be shown after a reboot in the message body box. Excerpt of modified firmware backup file:
The uploading, rebooting and read process can be automated:
curl -H 'Authorization: Basic YWRtaW46VEZWRFMwOVVWa1kzTmtJd01FRXdPRVl5UXpkWlEwRk5Wa1k9' -F
curl -H 'Authorization: Basic YWRtaW46VEZWRFMwOVVWa1kzTmtJd01FRXdPRVl5UXpkWlEwRk5Wa1k9'
In general, it is hard to define effective workarounds to guarantee the protection of the system. The attack is realized by an internal attacker, so a secure network infrastructure is important.
The recovery functions of the configuration backup must verify the configuration path and restrict the access to external paths. No system/ os path and file should be readable from the configuration interface.
- 2016-07-27 Vulnerability Discovered
- 2016-08-15 Vulnerability Reported
- 2016-09-14 Vulnerability Fixed