Coordinated Disclosure Timeline

Summary

The default setup of homepage is vulnerable to DNS rebinding which may allow an attacker website to read the private information of the homepage owner.

Project

homepage

Tested Version

v0.9.1

Details

DNS rebinding vulnerability (GHSL-2024-096)

The default setup of homepage is vulnerable to DNS rebinding. Homepage is setup without certificate and authentication by default, leaving it to vulnerable to DNS rebinding. In this attack, an attacker will ask a user to visit his/her website. The attacker website will then change the DNS records of their domain from their IP address to the internal IP address of the homepage instance. To tell which IP addresses are valid, we can rebind a subdomain to each IP address we want to check, and see if there is a response. Once potential candidates have been found, the attacker can launch the attack by reading the response of the webserver after the IP address has changed. When the attacker domain is fetched, the response will be from the homepage instance, not the attacker website, because the IP address has been changed. Due to a lack of authentication, a user’s private information such as API keys (fixed after first report) and other private information can then be extracted by the attacker website.

Impact

This issue may lead to Information Disclosure. An attacker can leak the information from homepage instances located on the same intranet as the victim.

CVE

Credit

This issue was discovered and reported by GHSL team member @Kwstubbs (Kevin Stubbings).

Contact

You can contact the GHSL team at securitylab@github.com, please include a reference to GHSL-2024-096 in any communication regarding this issue.