Skip to content

# Campcodes Park Ticketing System v1.0 XSS Vulnerability #2

@dobkill

Description

@dobkill

submitter

-Vuldb:doublekill182
-Email:doublekill@139.com

Vendor and Software Links

https://www.campcodes.com/projects/php/park-ticketing-system-in-php-mysql-free-download/

https://www.campcodes.com/downloads/park-ticketing-system-in-php-mysql/?wpdmdl=6524&ind=0

Overview

  • Park Ticketing System v1.0 contains a critical security vulnerability related to Cross-Site Scripting (XSS) within the admin_class.php file. The application lacks proper sanitization of user-provided data, enabling attackers to insert harmful scripts. This could result in the execution of arbitrary script code in the browsers of users, potentially compromising their security and privacy on the affected site.

Details of Vulnerability

  • Application Name: Park Ticketing System
  • Affected Version: v1.0
  • File:admin_class.php
  • Function:save_pricing( )
  • Vulnerable Parameter: name

Vulnerability Description

  • The 'name' parameter in the admin_class.php file of Park Ticketing System v1.0 is vulnerable to Stored Cross-Site Scripting (XSS). This vulnerability is a result of inadequate input validation and sanitization of user-provided data. An attacker could take advantage of this flaw by injecting malicious scripts into these parameters. Once stored on the server, these scripts may execute when other users access the affected user's profile.

Proof of Concept

  • In admin_class.php page, change the "name" box with payload belows. Then refresh the page, payload will trigger.
  • Payload: Click
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions