Hotel Management v1.0 - Reflected XSS

5.4

Medium

Discovered by 

Andres Roldan

Offensive Team, Fluid Attacks

Summary

Full name

Hotel Management v1.0 - Multiple Reflected Cross-Site Scripting (XSS)

Code name

State

Public

Release date

Dec 6, 2023

Affected product

Hotel Management

Vendor

Kashipara Group

Affected version(s)

Version 1.0

Vulnerability name

Reflected Cross-Site Scripting (XSS)

Remotely exploitable

Yes

CVSS v3.0 vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

CVSS v3.0 base score

5.4

Exploit available

Yes

Description

Hotel Management v1.0 is vulnerable to multiple authenticated Reflected Cross-Site Scripting vulnerabilities.

Vulnerabilities

CVE-2023-49269

The 'adults' parameter of the reservation.php resource is copied into the HTML document as plain text between tags. Any input is echoed unmodified in the application's response. The vulnerable code is:

if (isset($_GET["check_in_date"])) {
 $check_in_date = $_GET["check_in_date"];
 $check_out_date = $_GET["check_out_date"];
 $no_children = $_GET["children"];
 $no_adults = $_GET["adults"];
}
...
<div class="form-group">
 <label for="no_adults">Adults</label>
 <input type="number" class="form-control" name="no_adults" id="no_adults" value="<?php if (isset($no_adults)) {
 echo $no_adults;
} ?>">
</div>

CVE-2023-49270

The 'check_in_date' parameter of the reservation.php resource is copied into the HTML document as plain text between tags. Any input is echoed unmodified in the application's response. The vulnerable code is:

if (isset($_GET["check_in_date"])) {
 $check_in_date = $_GET["check_in_date"];
 $check_out_date = $_GET["check_out_date"];
 $no_children = $_GET["children"];
 $no_adults = $_GET["adults"];
}
...
<div class="form-group">
 <span class="form-label">Check In</span>
 <input class="form-control" name="check_in_date" id="check_in_date" type="text" required value="<?php if (isset($check_in_date)) {
echo $check_in_date;
} ?>"/>
</div>

CVE-2023-49271

The 'check_out_date' parameter of the reservation.php resource is copied into the HTML document as plain text between tags. Any input is echoed unmodified in the application's response. The vulnerable code is:

if (isset($_GET["check_in_date"])) {
 $check_in_date = $_GET["check_in_date"];
 $check_out_date = $_GET["check_out_date"];
 $no_children = $_GET["children"];
 $no_adults = $_GET["adults"];
}
...
<div class="form-group">
 <span class="form-label">Check out</span>
 <input class="form-control" name="check_out_date" id="check_out_date" type="text" required value="<?php if (isset($check_out_date)) {
echo $check_out_date;
} ?>"/>
</div>

CVE-2023-49272

The 'children' parameter of the reservation.php resource is copied into the HTML document as plain text between tags. Any input is echoed unmodified in the application's response. The vulnerable code is:

if (isset($_GET["check_in_date"])) {
 $check_in_date = $_GET["check_in_date"];
 $check_out_date = $_GET["check_out_date"];
 $no_children = $_GET["children"];
 $no_adults = $_GET["adults"];
}
...
<div class="form-group">
 <label for="no_children">Children</label>
 <input type="number" class="form-control" name="no_children" id="no_children" value="<?php if (isset($no_children)) {
 echo $no_children;
} ?>">
</div>

Our security policy

We have reserved the IDs CVE-2023-49269, CVE-2023-49270, CVE-2023-49271 and CVE-2023-49272 to refer to these issues from now on.

Disclosure policy

System Information

  • Version: Hotel Management v1.0

  • Operating System: Any

Mitigation

There is currently no patch available for this vulnerability.

References

Timeline

Vulnerability discovered

Nov 23, 2023

Vendor contacted

Nov 23, 2023

Public disclosure

Dec 6, 2023

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.