NavigateCMS / Navigate-CMS

Navigate CMS, a very powerful open source content management system for everybody.
http://www.navigatecms.com
GNU General Public License v2.0
8 stars 4 forks source link

Cross Site Scripting Vulnerability on "Groups" feature in NavigateCMS 2.9 #17

Closed Songohan22 closed 4 years ago

Songohan22 commented 4 years ago

Describe the bug An authenticated malicious user can take advantage of a Stored XSS vulnerability on "Groups" in the "Tools" feature in NavigateCMS 2.9 To Reproduce Steps to reproduce the behavior:

  1. Log into the panel.
  2. Go to "/navigate/navigate/navigate.php?fid=webusers"
  3. Select "Groups "
  4. Click "Create" groups
  5. Insert payload: // # "><svg/onload=prompt(/SonGohan22/)> "><svg/onload=alert(document.domain)>
  6. Click "Save"
  7. Reoad "Web Server" in the funcition "Tools"
  8. View the preview to trigger XSS.
  9. View the preview to get in request and such Stored XSS.

**Expected behavior The removal of script tags is not sufficient to prevent an XSS attack. You must HTML Entity encode any output that is stored back to the page.

**Impact Commonly include transmitting private data, like cookies or other session information, to the attacker, redirecting the victim to web content controlled by the attacker, or performing other malicious operations on the user’s machine under the guise of the vulnerable site.

**Screenshots image image image

**Desktop (please complete the following information):

NavigateCMS commented 4 years ago

Fixed by 09e85d216ac70efa917547b24418e29efc1d0f75