Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-20557

XSS in Superfecta.class.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13, 14, 15
    • Fix Version/s: 13, 14, 15
    • Component/s: CID Superfecta
    • Labels:
      None
    • Sprint:
      Sprint 17!
    • ToDo:

      Description

      html\admin\modules\superfecta\Superfecta.class.php

      https://github.com/FreePBX/superfecta/blob/release/14.0/Superfecta.class.php

       

      Unsanitized $_REQUEST['tel'] and $_REQUEST['level'] reflected in HTML leads to XSS (as you can see in screenshot attached on latest FreePBX ISO, ajax request is manipulated with Burp)

       

       l.309+:
      echo "<span class='header'>"._('Debug is on and set at level:')."</span> ".$_REQUEST['level']."</br>";
      echo "<span class='header'>"._('The Original Number:')."</span> ".$_REQUEST['tel']."</br>";

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fdanard Franck Danard [X] (Inactive)
                Reporter:
                respect respect
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.