J-Security Center

Title: Phorum Arbitrary File Read Vulnerability

Severity: MODERATE

Description:

Phorum is a PHP based web forums package. Due to an error in the handling of user input in administrative scripts, any user can view the any file readable by the webserver on the target host. This is due to user-supplied input being referenced as a filename in two locations in the file common.php.

The ForumLang variable, used to specify a language in which the forum will be displayed, is not checked for "../" character sequences. As a result, it is possible for users to supply a path consisting of "../" sequences followed by an arbitrary file on the filesystem to the script, which will open it and display its contents.

The consequences of this vulnerability being exploited is a disclosure of system information (eg valid accounts). Under certain circumstances, this may also indirectly lead to the attacker gaining local access to the system.

Affected Products:

  • Phorum Phorum 3.1.0
  • Phorum Phorum 3.1.1
  • Phorum Phorum 3.1.1a
  • Phorum Phorum 3.1.1pre
  • Phorum Phorum 3.1.1rc2
  • Phorum Phorum 3.1.2
  • Phorum Phorum 3.2.0
  • Phorum Phorum 3.2.2
  • Phorum Phorum 3.2.3
  • Phorum Phorum 3.2.3a
  • Phorum Phorum 3.2.3b
  • Phorum Phorum 3.2.4
  • Phorum Phorum 3.2.5
  • Phorum Phorum 3.2.6
  • Phorum Phorum 3.2.7
  • Phorum Phorum 3.2.8

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.