PT-2024-23298 · Unknown · Astro-Shield

Castarco

·

Published

2024-04-01

·

Updated

2024-04-04

·

CVE-2024-30250

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Astro-Shield versions 1.2.0 through 1.3.1
Description Astro-Shield is an integration to enhance website security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques. The issue allows bypass to the allow-lists for cross-origin resources by introducing valid integrity attributes to the injected code, which would lead the browser to believe that the injected resource is legit. To exploit this, an attacker needs to first inject code into the rendered pages by exploiting other potential vulnerabilities.
Recommendations For Astro-Shield versions 1.2.0 through 1.3.1, update to version 1.3.2 to patch the vulnerability. As a temporary workaround, consider not using the middleware functionality of Astro-Shield, or use it only for content that cannot be controlled in any way by external users.

Exploit

Fix

Insufficient Verification of Data Authenticity

Weakness Enumeration

Related Identifiers

CVE-2024-30250
GHSA-C4GR-Q97G-PPWC

Affected Products

Astro-Shield