SRC-2019-0020 : Vanilla Forums AddonManager getSingleIndex Directory Traversal File Inclusion Remote Code Execution Vulnerability

CVE ID:

CVE-2019-9889

CVSS Score:

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

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, however the authentication can be bypassed.

The specific flaw exists within the getSingleIndex function of the AddonManager class. The issue results in a require call using a crafted type value. 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 this vulnerability. More details can be found at:
https://github.com/vanilla/vanilla/commit/409a4797d125f9e0fb1435603b521e5dc027d7f6

Disclosure Timeline:

  • 2018-09-18 - Vulnerability reported to Vanilla
  • 2019-02-10 - Vulnerability patched
  • 2019-03-13 - 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