CVE-2000-1231

MEDIUM5.0/ 10.0
Share:
Published: December 31, 2000 at 05:00 AM
Modified: April 3, 2025 at 01:03 AM
Source: cve@mitre.org

Vulnerability Description

code.php3 in Phorum 3.0.7 allows remote attackers to read arbitrary files in the phorum directory via the query string.

CVSS Metrics

Base Score
5.0
Severity
MEDIUM
Vector String
AV:N/AC:L/Au:N/C:P/I:N/A:N

Weaknesses (CWE)

NVD-CWE-Other
Source: nvd@nist.gov

AI Security Analysis

01 // Technical Summary

Phorum 3.0.7 is vulnerable to a critical arbitrary file read vulnerability, allowing attackers to access sensitive information like configuration files and user credentials. This flaw, present in code.php3, enables remote attackers to read any file within the Phorum installation directory by manipulating the query string, potentially leading to complete system compromise.

02 // Vulnerability Mechanism

Step 1: Crafting the Payload: The attacker constructs a malicious URL containing a query string that targets the code.php3 script. This query string specifies the path to a target file within the Phorum directory. Step 2: Request Submission: The attacker sends the crafted URL to the vulnerable Phorum server. Step 3: Script Execution: The code.php3 script receives the request and, due to the lack of input validation, processes the query string. Step 4: File Access: The script attempts to open and read the file specified in the query string. Step 5: Information Disclosure: The contents of the requested file are then displayed in the HTTP response, revealing sensitive information to the attacker.

03 // Deep Technical Analysis

The vulnerability stems from a lack of proper input validation and sanitization within the code.php3 script. Specifically, the script fails to adequately restrict the files that can be accessed via the query string parameters. This allows an attacker to specify the path to any file within the Phorum installation directory. The script then attempts to read and display the contents of the specified file without verifying its legitimacy or intended purpose. This lack of access control allows for the unauthorized disclosure of sensitive information, such as database credentials, configuration settings, and potentially even source code, which can be leveraged for further attacks.

CVE-2000-1231 - MEDIUM Severity (5) | Free CVE Database | 4nuxd