Project

General

Profile

Actions

Bug #7999

closed

XSS via 'hostname' parameter in diag_dns.php

Added by Jim Pingle almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Web Interface
Target version:
Start date:
10/24/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

On diag_dns.php the 'hostname' parameter is sent back to the user without encoding in a JavaScript block, leading to an XSS

Affects 2.3.x and 2.4.x

To test, enter this for the hostname:

0.0.0.0";alert("diag_dns XSS")//

Actions #1

Updated by Jim Pingle almost 4 years ago

  • Private changed from No to Yes
Actions #2

Updated by Jim Pingle almost 4 years ago

  • Description updated (diff)
Actions #3

Updated by Jim Pingle almost 4 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Jim Pingle almost 4 years ago

  • Status changed from Feedback to Resolved

works fine now

Actions #5

Updated by Jim Pingle almost 4 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF