Stored Cross-site Scripting Vulnerability in BigTreeCMS 4.2.19


Advisory by Netsparker (now Invicti)
Name: Stored Cross-site Scripting Vulnerability in BigTreeCMS 4.2.19
Affected Software: BigTreeCMS
Affected Versions: 4.2.19
Vulnerability: Stored Cross-site Scripting
Severity: Medium
Status: Fixed
CVE-ID: CVE-2018-13425
CVSS Score (3.0): CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Invicti Advisory Reference: NS-18-005

Injection Technical Details

URL: http://{domain}/{bigtree_path}/site/index.php/admin/ajax/auto-modules/views/delete/?view=2&id=<scRipt>alert(21)</scRipt>&__csrf_token_{csrf_token_name}__={csrf_token_value}
Parameter Name: id
Parameter Type: GET
Attack Pattern: <scRipt>alert(21)</scRipt>

For more information on cross-site scripting vulnerabilities, read the section Cross-site scripting (XSS).

Injection Repro

  1. Login with any user
  2. Go to http://localhost/bigtree/site/index.php/admin/trees/
  3. Any element in the list is modified from the deletion link’s href attribute to developer to
    a. Before: <a href="#3" class="icon_delete js-delete-hook"></a>
    b. After: <a href="#3' <scRipt>alert(21)</scRipt>" class="icon_delete js-delete-hook"></a>
  4. Click delete button and sending XHR

Identification Technical Details

URL: http://{domain}/{bigtree_path}/site/index.php/admin/developer/audit/search/?user={user_id}&__csrf_token_{csrf_token_name}__={csrf_token_value}

Identification Repro

  1. Login admin
  2. Go to http://localhost/bigtree/site/index.php/admin/developer/audit/
  3. Select “Injection Repro”‘s user from “User” combobox
  4. Click search button and trigger XSS payload

Advisory Timeline

9th July 2018- First Contact
11th July 2018 – Vendor Fixed
9th August 2018 – Advisory Released

Credits & Authors

These issues have been discovered by Omer Citak and Mithat Gogebakan while testing Invicti Web Application Security Scanner.

About Invicti

Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.