Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross Site Script Vulnerability on "Admin-Tools" in BlackCAT CMS 1.3.6 #402

Closed
r0ck3t1973 opened this issue Sep 18, 2020 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@r0ck3t1973
Copy link

r0ck3t1973 commented Sep 18, 2020

Describe the bug
An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "Admin-Tools" feature in Admin

To Reproduce
Steps to reproduce the behavior:

  1. Login into the Admin panel
  2. Go to 'BlackCatCMS/backend/admintools/index.php'
  3. Click Chose:
    +/ BlackCat CMS Output Filters: 'BlackCatCMS/backend/admintools/tool.php?tool=blackcatFilter'
    +/ Droplets: 'BlackCatCMS/backend/admintools/tool.php?tool=droplets'
  4. Insert Payload
    '><details/open/ontoggle=confirm(1337)>
    ">< img src=xx onerror=alert(1) >
  5. Save
  6. XSS Alert Message

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

Screenshots

  1. BlackCat CMS Output Filters: 'BlackCatCMS/backend/admintools/tool.php?tool=blackcatFilter'
    1
    2
    3

  2. Droplets: 'BlackCatCMS/backend/admintools/tool.php?tool=droplets'
    4
    5
    6
    7
    8
    9

Desktop (please complete the following information):

OS: Windows
Browser: All
Version

@webbird webbird self-assigned this Sep 18, 2020
@webbird webbird added this to the v1.4 milestone Sep 18, 2020
@webbird
Copy link
Contributor

webbird commented Sep 18, 2020

Thank you for reporting this! Will be fixed with upcoming release 1.4.

@r0ck3t1973
Copy link
Author

CVE-2020-25878

@webbird webbird reopened this Jul 12, 2021
webbird pushed a commit that referenced this issue Sep 24, 2021
webbird pushed a commit that referenced this issue Sep 24, 2021
@webbird webbird closed this as completed Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants