CVE-2024-42364
homepage DNS rebinding vulnerability (GHSL-2024-096)
Em resumo
O Homepage 0.9.1 não possui autenticação e HTTPS ativados por padrão, permitindo que atacantes enganem usuários para visitar um site malicioso que redireciona para a instância interna do Homepage através de manipulação de DNS, potencialmente expondo dados privados como chaves de API.
Detalhe técnico
Vulnerabilidade de DNS rebinding que explora a falta padrão de autenticação e validação de certificado no Homepage. Um atacante manipula respostas DNS para redirecionar o navegador da vítima de um domínio externo para o endereço IP interno do Homepage, permitindo acesso não autorizado a informações sensíveis. A exploração bem-sucedida requer que a vítima visite o website controlado pelo atacante e que a instância interna do Homepage seja acessível sem autenticação.
Resumo gerado e traduzido por IA a partir da descrição oficial.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N