Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-39526: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in nicdark Hotel Booking

0
Unknown
VulnerabilityCVE-2025-39526cvecve-2025-39526
Published: Thu Apr 17 2025 (04/17/2025, 15:46:55 UTC)
Source: CVE Database V5
Vendor/Project: nicdark
Product: Hotel Booking

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in nicdark Hotel Booking nd-booking allows PHP Local File Inclusion.This issue affects Hotel Booking: from n/a through <= 3.6.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 04:07:52 UTC

Technical Analysis

CVE-2025-39526 is a Local File Inclusion (LFI) vulnerability found in the nicdark Hotel Booking PHP application, affecting versions up to 3.6. The vulnerability stems from improper control over the filename parameter used in PHP's include or require statements, which allows an attacker to manipulate the input to include arbitrary files from the server's filesystem. This can lead to disclosure of sensitive files such as configuration files, password stores, or application source code. In some cases, if combined with other vulnerabilities or misconfigurations, it may allow remote code execution by including files containing malicious PHP code. The vulnerability is categorized as an improper control of filename for include/require statements, a common PHP security issue when user input is not properly sanitized or validated. No official patch or fix links are currently available, and no CVSS score has been assigned yet. There are no known exploits in the wild, but the vulnerability is publicly disclosed and should be considered a significant risk. Attackers exploiting this flaw do not necessarily require authentication, and exploitation can be performed remotely by sending crafted requests to the affected application. The nicdark Hotel Booking system is a PHP-based web application used by hospitality businesses to manage reservations, making it a target for attackers seeking to compromise customer data or disrupt operations.

Potential Impact

The impact of CVE-2025-39526 can be severe for organizations using the nicdark Hotel Booking system. Successful exploitation can lead to unauthorized disclosure of sensitive information such as server configuration files, database credentials, or user data, compromising confidentiality. In some scenarios, it may allow attackers to execute arbitrary code remotely, threatening system integrity and availability. This can result in data breaches, defacement of websites, or full server compromise. For hospitality businesses, this could mean exposure of customer personal and payment information, leading to reputational damage, regulatory penalties, and financial losses. The vulnerability also increases the attack surface for further exploitation, such as pivoting into internal networks or deploying ransomware. Since the software is web-facing and often integrated with payment and booking systems, the scope of affected systems can be broad within an organization. The ease of exploitation without authentication and no user interaction required further elevates the risk level.

Mitigation Recommendations

To mitigate CVE-2025-39526, organizations should first check for official patches or updates from nicdark and apply them promptly once available. In the absence of patches, immediate steps include implementing strict input validation and sanitization on all parameters used in include or require statements to ensure only allowed filenames or paths are processed. Employ whitelisting approaches to restrict file inclusions to known safe directories. Disable remote file inclusion capabilities in PHP configuration by setting 'allow_url_include' to 'Off' and 'allow_url_fopen' to 'Off' if not required. Use web application firewalls (WAFs) to detect and block suspicious requests attempting to exploit file inclusion. Conduct thorough code reviews and security testing to identify similar vulnerabilities. Monitor server logs for unusual access patterns or errors related to file inclusion. Segregate web server privileges to limit the impact of a successful exploit. Finally, consider deploying runtime application self-protection (RASP) tools to detect and prevent exploitation attempts in real time.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Patchstack
Date Reserved
2025-04-16T06:24:32.684Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69cd73fde6bfc5ba1def4bf1

Added to database: 4/1/2026, 7:37:33 PM

Last enriched: 4/2/2026, 4:07:52 AM

Last updated: 4/6/2026, 9:38:25 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses