Advisory by Netsparker
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
Netsparker 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 article 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
    1. Before: <a href="#3" class="icon_delete js-delete-hook"></a>
    2. 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 Netsparker Web Application Security Scanner.

About Netsparker

Netsparker web application security scanners find and report security flaws and vulnerabilities such as SQL Injection and Cross-site Scripting (XSS) in all websites and web applications, regardless of the platform and technology they are built on. Netsparker scanning engine’s unique detection and exploitation techniques allow it to be dead accurate in reporting vulnerabilities. The Netsparker web application security scanner is available in two editions; Netsparker Desktop and Netsparker Enterprise. Visit our website for more information.