Total Tests:

Local PHP File Inclusion in FluxBB

Advisory ID:HTB23246
Product:FluxBB
Vendor:FluxBB
Vulnerable Versions:1.5.7 and probably prior
Tested Version:1.5.7
Advisory Publication:December 31, 2014 [without technical details]
Vendor Notification:December 31, 2014
Vendor Fix:January 23, 2015
Public Disclosure:January 28, 2015
Latest Update:January 23, 2015
Vulnerability Type:PHP File Inclusion [CWE-98]
CVE Reference:CVE-2014-9574
Risk Level:High
CVSSv2 Base Score:7.6 (AV:N/AC:H/Au:N/C:C/I:C/A:C)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in FluxBB, which can be exploited to compromise vulnerable system.


1) Local PHP File Inclusion in FluxBB: CVE-2014-9574

The vulnerability exists due to absence of filtration of the "install_lang" HTTP GET parameter before including PHP files using the "require()" PHP function in "/install.php" script. The installation script "/install.php" remains on the system after installation by default and is accessible to anonymous users. A remote attacker can include and execute arbitrary "install.php" file from any directory on the server using directory traversal (e.g. "../") sequences. This may result in arbitrary PHP code execution and full system compromise.

A simple PoC below will include and execute "/tmp/install.php" script:

http://fluxbb/install.php?install_lang=../../../../../tmp/

Successful exploitation requires that attacker is able to plant a malicious "install.php" file on the system.

How to Detect PHP File Inclusion Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Update to FluxBB 1.5.8

More Information:
https://fluxbb.org/forums/viewtopic.php?id=8203


References:
[1] High-Tech Bridge Advisory HTB23246 - https://www.immuniweb.com/advisory/HTB23246 - Local PHP File Inclusion in FluxBB.
[2] FluxBB - http://fluxbb.org/ - FluxBB is fast, light, user-friendly forum software for your website.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - Leveraging the power of machine-learning and genius of human brain to deliver the most advanced web application security and penetration testing.
[6] ImmuniWeb® SSLScan - Test your servers for security and compliance with PCI DSS, HIPAA and NIST.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a technical question?

Our security experts will answer within
one business day. No obligations.

Have a sales question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
Your data will stay private and confidential