CVE-2024-30250

Astro-Shield is an integration to enhance website security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques. Versions from 1.2.0 to 1.3.1 of Astro-Shield allow bypass to the allow-lists for cross-origin resources by introducing valid `integrity` attributes to the injected code. This implies that the injected SRI hash would be added to the generated CSP header, which would lead the browser to believe that the injected resource is legit. This vulnerability is patched in version 1.3.2.
Configurations

No configuration.

History

21 Nov 2024, 09:11

Type Values Removed Values Added
References () https://github.com/kindspells/astro-shield/commit/1221019306f501bf5fa9bcfb5a23a2321d34ba0a - () https://github.com/kindspells/astro-shield/commit/1221019306f501bf5fa9bcfb5a23a2321d34ba0a -
References () https://github.com/kindspells/astro-shield/commit/5ae8b8ef4f681d3a81431ee7e79d5dec545c6e1f - () https://github.com/kindspells/astro-shield/commit/5ae8b8ef4f681d3a81431ee7e79d5dec545c6e1f -
References () https://github.com/kindspells/astro-shield/releases/tag/1.3.2 - () https://github.com/kindspells/astro-shield/releases/tag/1.3.2 -
References () https://github.com/kindspells/astro-shield/security/advisories/GHSA-c4gr-q97g-ppwc - () https://github.com/kindspells/astro-shield/security/advisories/GHSA-c4gr-q97g-ppwc -
Summary
  • (es) Astro-Shield es una integración para mejorar la seguridad del sitio web con hashes de integridad de subrecursos, encabezados de política de seguridad de contenido y otras técnicas. Las versiones de 1.2.0 a 1.3.1 de Astro-Shield permiten eludir las listas permitidas para recursos de origen cruzado al introducir atributos de "integridad" válidos en el código inyectado. Esto implica que el hash SRI inyectado se agregaría al encabezado CSP generado, lo que llevaría al navegador a creer que el recurso inyectado es legítimo. Esta vulnerabilidad está parcheada en la versión 1.3.2.

04 Apr 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-04 15:15

Updated : 2024-11-21 09:11


NVD link : CVE-2024-30250

Mitre link : CVE-2024-30250

CVE.ORG link : CVE-2024-30250


JSON object : View

Products Affected

No product.

CWE
CWE-345

Insufficient Verification of Data Authenticity