Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • foris foris
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • ForisForis
  • forisforis
  • Issues
  • #201
Closed
Open
Issue created Jan 12, 2021 by Martin Matějek@mmatejekMaintainer

XSS in next redirection parameter (CVE-2021-3346)

Reported by Niklas Volcz in RT#1212321

I have found an XSS (cross-site scripting) vulnerability in foris (version: 100.5.1) login. The impact of the vulnerability is so far limited to phishing and by redirecting the login credentials to an attacker but I am sure there is a lot of evil stuff you can do with an XSS like this. I read somewhere that foris will be replaced in the near future but my router still uses it.

The vulnerability: The next parameter in the login page does not escape/sanitize HTML.

Proof of concept: http://192.168.1.1/foris/config/?next=CANARY%22%3E%3Cscript%3Ealert(%22BOOM%22)%3C/script%3E

Edited Jan 30, 2021 by Vojtech Myslivec
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking