CVE-2024-53276

Home-Gallery.org is a self-hosted open-source web gallery to browse personal photos and videos. In 1.15.0 and earlier, an open CORS policy in app.js may allow an attacker to view the images of home-gallery when it is using the default settings. The following express middleware allows any website to make a cross site request to home-gallery, thus allowing them to read any endpoint on home-gallery. Home-gallery is mostly safe from cross-site requests due to most of its pages requiring JavaScript, and cross-site requests such as fetch() do not render javascript. If an attacker is able to get the path of the preview images which are randomized, an attacker will be able to view such a photo. If any static files or endpoints are introduced in the future that contain sensitive information, they will be accessible to an 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, una política CORS abierta en app.js puede permitir que un atacante vea las imágenes de la galería de inicio cuando usa la configuración predeterminada. El siguiente middleware rápido permite que cualquier sitio web realice cross-site request a la galería de inicio, lo que les permite leer cualquier endpoint en la galería de inicio. Home-gallery está mayoritariamente a salvo de cross-site requests debido a que la mayoría de sus páginas requieren JavaScript, y cross-site requests como fetch() no representan javascript. Si un atacante puede obtener la ruta de las imágenes de vista previa que son aleatorias, podrá ver dicha foto. Si en el futuro se introducen archivos estáticos o endpoints que contengan información confidencial, el sitio web de un atacante podrá acceder a ellos.
CVSS v2 : unknown
v3 : 6.1
v2 : unknown
v3 : unknown

24 Dec 2024, 02:15

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

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-53276

Mitre link : CVE-2024-53276

CVE.ORG link : CVE-2024-53276


JSON object : View

Products Affected

No product.

CWE
CWE-942

Permissive Cross-domain Policy with Untrusted Domains