Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 2.06 KB

CVE-2024-24136.md

File metadata and controls

32 lines (25 loc) · 2.06 KB

CVE-2024-24136 : Math Game Cross-Site-Scripting

References:

Description:

The 'Your Name' section in the Submit Score section of the math game app is vulnerable to Cross-Site Scripting Attacks. Math Game is vulnerable to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Proof of Concept:

  • Go to http://localhost/math-game-with-leaderboard/
  • Then play the game (it will be over in about 2 minutes).
  • In the 'Your Name' section of the Submit Score section, enter the following payload: <video/src=x onerror=alert(document.domain)>
  • Click Submit and submit your score.
  • A pop-up will then open and XSS will be triggered.

Ekran görüntüsü 2024-01-11 180814

Ekran görüntüsü 2024-01-11 180843

Ekran görüntüsü 2024-01-11 180859