HexBrain

AWS VDP · Report #2787650

Reflected XSS on Amazon EC2 Instance

Informativestatus
highseverity
55upvotes
24 Dec 2024disclosed

How it was found

Product: Amazon Elastic Compute Cloud (Amazon EC2)

Vulnerability Type: Reflected Cross-Site Scripting (XSS)

CVE: CVE-2022-29548 Severity: Medium

Description: A reflected XSS vulnerability was discovered on the Amazon EC2 instance, allowing an attacker to inject malicious JavaScript code, potentially leading to unauthorized access to sensitive data or system compromise. Proof of Concept:

URL: ███████);alert(document.domain)//

Impact

The payload is injected into the errorCode parameter, which is reflected back to the user without proper validation or sanitization. This allows an attacker to execute arbitrary JavaScript code in the context of the vulnerable page

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original