Code-Projects Simple ChatBox Sensitive Information Disclosure Vulnerability

Vulnerability

A sensitive information disclosure vulnerability has been identified in Code-Projects Simple ChatBox version 1.0. The issue arises from an exposed SQL database backup file, 'chatbox.sql', which is located in a publicly accessible directory within the web root. The web server does not restrict access to .sql files, allowing any unauthenticated user to download the database dump via HTTP. This SQL file contains the complete database schema and application data, including chat messages and user information. The vulnerability is caused by improper server configuration and the insecure handling of backup files, leading to the unintended exposure of sensitive data.

Impact

Exploitation of this vulnerability allows unauthorized access to sensitive information such as chat messages, usernames, passwords, and the overall database structure. This could result in privacy violations, credential theft, account compromises, and further attacks on the application.

Reproduction

To reproduce this vulnerability, install Simple ChatBox in PHP version 1.0. Once the application is running, navigate to the 'chatbox.sql' file located in the 'database' directory. The file is directly accessible without any authentication, allowing for the download of the SQL dump which contains sensitive information such as chat messages and user data.

Remediation

It is recommended to remove SQL backup files from the web root and store them in a secure location, such as a private backup directory. Additionally, access to .sql files should be restricted through server configuration to prevent unauthorized downloads.

Added: Apr 13, 2026, 5:20 AM
Updated: Apr 13, 2026, 5:20 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.3
remediation
0.0
relevance
5.8
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.