Concrete CMS · Report #6853
XSS on [/concrete/concrete/elements/dashboard/sitemap.php]
Validstatus
6upvotes
28 Aug 2014disclosed
How it was found
Alright, here's the other bug I said I would report. I have found the file that is affected by this bug, which is outlined in the title. The affected file is here - /concrete/concrete/elements/dashboard/sitemap.php
On line 40, this section:
<div id="tree" sitemap-wrapper="1" sitemap-select-callback="<?php echo $callback?>"PHP echoes the $callback without filtering any user input. Here is the PoC link -
Change localhost/ to wherever you're hosting your concrete installation.
That might not be the source of the problem, but I used grep to find the place where it was echoed.
Thank you.