CVE-2024-42364 homepage DNS rebinding vulnerability (GHSL-2024-096)
Attackers can exploit DNS rebinding to access internal network resources and extract sensitive API keys from the default unauthenticated Homepage dashboard.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-42364?
CVE-2024-42364 is a medium-severity server-side request forgery vulnerability in gethomepage homepage, published on 23 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Homepage is a highly customizable homepage with Docker and service API integrations. The default setup of homepage 0.9.1 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.
Which versions are affected by CVE-2024-42364?
It affects 1 product.
Products include Gethomepage Homepage.
How do I fix CVE-2024-42364?
No fix has been published for CVE-2024-42364 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2024-42364 being exploited?
There is no known exploitation of CVE-2024-42364 in the wild and no public exploit code.