SRC-2018-0035 : Vanilla Forums AddonManager getSingleIndex Directory Traversal File Inclusion Remote Code Execution Vulnerability

CVE ID:

N/A

CVSS Score:

4.7, (AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L)

Affected Vendors:

Vanilla

Affected Products:

Vanilla Forums

Vulnerability Details:

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Vanilla Forums. Authentication is required to exploit this vulnerability.

The specific flaw exists within the getSingleIndex function of the AddonManager class. The issue results in an lack of validation on the type parameter later used for file inclusion. An attacker can leverage this vulnerability to execute code under the context of the web server.

Vendor Response:

Vanilla has issued an update to correct these vulnerabilities. More details can be found at:
https://github.com/vanilla/vanilla/commit/e9a101c1863351fba71c830a0d7715706c628352

Disclosure Timeline:

  • 2018-08-15 - Vulnerability reported to Vanilla
  • 2018-08-17 - Vulnerability patched
  • 2018-11-23 - Coordinated public release of advisory

Proof of Concept:

https://hackerone.com/reports/411140

Credit:

This vulnerability was discovered by Steven Seeley (mr_me) of Source Incite