Phorum PHP Configuration Disclosure Vulnerability

BID:1985

Info

Phorum PHP Configuration Disclosure Vulnerability

Bugtraq ID: 1985
Class: Input Validation Error
CVE:
Remote: Yes
Local: Yes
Published: Nov 23 2000 12:00AM
Updated: Nov 23 2000 12:00AM
Credit: Discovered by Joao Gouveia <[email protected]>.
Vulnerable: Phorum Phorum 3.2.7
Phorum Phorum 3.2.6
Phorum Phorum 3.2.5
Phorum Phorum 3.2.4
Phorum Phorum 3.2.3 b
Phorum Phorum 3.2.3 a
Phorum Phorum 3.2.3
Phorum Phorum 3.2.2
Phorum Phorum 3.2
Phorum Phorum 3.1.2
Phorum Phorum 3.1.1 rc2
Phorum Phorum 3.1.1 pre
Phorum Phorum 3.1.1 a
Phorum Phorum 3.1.1
Phorum Phorum 3.1
Not Vulnerable: Phorum Phorum 3.2.8

Discussion

Phorum PHP Configuration Disclosure Vulnerability

Phorum is a PHP based web forums package. Due to an error in the implementation of forum selection in administrative scripts, any user can view the any PHP script on the target host. This is due to user-supplied input being referenced as a filename in two locations in the file common.php. For example:

if($num || $f){
if($f) $num=$f;
if(file_exists("$admindir/forums/$num.php")){
include "$admindir/forums/$num.php";
}

where $f is read from user input via a form, and is meant to be the name of a selected forum. However, any value can be submitted as $f and the corresponding PHP file will be displayed to the browser. This could lead to disclosure of sensitive information, including the MySql server, database name, userid and password, which are kept in master.php.

Exploit / POC

Phorum PHP Configuration Disclosure Vulnerability

http://target/cgi-bin/forums/list.php?f=DESIRED_PHP_FILE_WITHOUT_EXTENSION

Solution / Fix

Phorum PHP Configuration Disclosure Vulnerability

Solution:
Phorum version 3.2.8 is now available and has these issues resolved. To download the latest version, see the Phorum downloads page at;
http://www.phorum.org/download.php

For users who do not wish to upgrade, there is patch information available at:
http://www.phorum.org/

References

Phorum PHP Configuration Disclosure Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report