CVE-2024-53275

Home-Gallery.org is a self-hosted open-source web gallery to browse personal photos and videos. In 1.15.0 and earlier, the default setup of home-gallery is vulnerable to DNS rebinding. Home-gallery is set up without TLS and user authentication by default, leaving it vulnerable to DNS rebinding. In this attack, an attacker will ask a user to visit their website. The attacker website will then change the DNS records of their domain from their IP address to the internal IP address of the home-gallery 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 web server after the IP address has changed. When the attacker domain is fetched, the response will be from the home-gallery instance, not the attacker website, because the IP address has been changed. Due to a lack of authentication, home-gallery photos can then be extracted by the attacker website.
CVSS

No CVSS.

Configurations

No configuration.

History

18 Feb 2025, 22:15

Type Values Removed Values Added
Summary
  • (es) Home-Gallery.org es una galería web autohospedada de código abierto para explorar fotografías y vídeos personales. En 1.15.0 y versiones anteriores, la configuración predeterminada de la galería de inicio es vulnerable a la nueva vinculación de DNS. La galería de inicio está configurada sin TLS ni autenticación de usuario de forma predeterminada, lo que la deja vulnerable a la nueva vinculación de DNS. En este ataque, un atacante pedirá al usuario que visite su sitio web. Luego, el sitio web del atacante cambiará los registros DNS de su dominio de su dirección IP a la dirección IP interna de la instancia de la galería de inicio. Para saber qué direcciones IP son válidas, podemos volver a vincular un subdominio a cada dirección IP que queramos verificar y ver si hay una respuesta. Una vez que se han encontrado candidatos potenciales, el atacante puede lanzar el ataque leyendo la respuesta del servidor web después de que la dirección IP haya cambiado. Cuando se recupera el dominio del atacante, la respuesta será de la instancia de la galería de inicio, no del sitio web del atacante, porque se cambió la dirección IP. Debido a la falta de autenticación, el sitio web del atacante puede extraer las fotos de la galería de inicio.
CVSS v2 : unknown
v3 : 4.3
v2 : unknown
v3 : unknown

24 Dec 2024, 02:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.3

23 Dec 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-23 18:15

Updated : 2025-02-18 22:15


NVD link : CVE-2024-53275

Mitre link : CVE-2024-53275

CVE.ORG link : CVE-2024-53275


JSON object : View

Products Affected

No product.

CWE
CWE-350

Reliance on Reverse DNS Resolution for a Security-Critical Action