GHSL-2024-096: DNS rebinding in Homepage, leading to private information disclosure - CVE-2024-42364
The default setup of Homepage lacks authentication and SSL, making it vulnerable to DNS rebinding. An attacker could trick a victim into visiting a malicious site that rebinds its domain to the internal IP of the Homepage instance, allowing the attacker to read private information such as API keys and other data.
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.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the lack of authentication and SSL in the default configuration allows DNS rebinding attacks to access the Homepage instance.
Impact
An attacker could leak private information from Homepage instances on the same intranet as the victim, though the text notes that API keys were fixed after a first report.
What the attacker needed
Victim visits attacker website; Homepage on same intranet; default Homepage setup (no auth/SSL)
The fix
The maintainers recommend users use SSL and authentication but will not implement it by default; the issue was not fixed as a security vulnerability.
How it was found
- Attacker asks a user to visit their website.
- Attacker website changes DNS records of their domain from their IP to the internal IP of the Homepage instance.
- Attacker rebinds a subdomain to each IP address to check for valid responses.
- Once potential candidates are found, attacker launches the attack by reading the response after the IP address has changed.
- The response comes from the Homepage instance, allowing extraction of private information.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
DNS rebinding is a technique where a malicious website changes its domain's IP address to point to a device on your local network, bypassing browser security. Homepage, by default, has no login or encryption, so any website could potentially access it and steal data like API keys. This report shows that an attacker could use this to read private information from your Homepage instance.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.