Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 2.52 KB

Travel_Journal_App.md

File metadata and controls

56 lines (38 loc) · 2.52 KB

CVE-2024-24041 - Travel Journal App - Cross Site Scripting

References:

Description:

Travel Journal App 1.0 allows mirrored cross-site scripting of the 'Location' and 'Share your monents' form's in the path http://localhost/travel-journal/write-journal.php. Travel Journal App is vulnerable to a cross-site scripting vulnerability because it fails to adequately sanitise user-supplied data. An attacker could exploit this issue to run arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This could allow an attacker to steal cookie-based authentication credentials and launch other attacks.

Proof of Concept:

  • Go to 'Write Journal'.
  • Go to the 'Location' or 'Share your monents' forms and use the following payloads: <script>alert(document.cookie)</script> and <script>alert(document.domain)</script>
  • Then click 'Save Journal'.
  • XSS will be loaded.
  • Go to the 'Read Journal' section and click.
  • Warnings will pop up.

Exploting:

1:

Ekran görüntüsü 2024-01-20 010845

2:

Ekran görüntüsü 2024-01-20 010924

3:

Ekran görüntüsü 2024-01-20 011126

4:

Ekran görüntüsü 2024-01-20 011215

5:

Ekran görüntüsü 2024-01-20 011351

6:

Ekran görüntüsü 2024-01-20 011453