SecurityContext

CVE-2024-53275: Home-Gallery - DNS Rebinding

  • Cve: CVE-2024-53275
  • Name: Home-Gallery - DNS Rebinding
  • Description: 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.
  • Impact: Attackers can extract sensitive photos from the gallery by exploiting DNS rebinding, leading to privacy breaches.
  • Remediation: Implement TLS, add user authentication, and update to the latest version.
  • Vulnerability type: dns_rebinding
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs user to visit malicious website
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00278
  • Epss percentile: 0.20365
  • Assignee: [email protected]
  • Published at: 2024-12-23T18:15:07Z
  • Age in days: 701
  • Modified at: 2026-06-17T08:08:44Z
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-53275
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-350Reliance on Reverse DNS Resolution for a Security-Critical Action

References

UrlSourceTags
https://securitylab.github.com/advisories/GHSL-2024-091_GHSL-2024-092_home-gallery/nvd

Products

ProductAffectedPlatform boundSourcesUrl
home-gallery:homegallery<= 1.15.0nocna_alias_text/v1/products/home-gallery/homegallery

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts