Project

General

Profile

Actions

Bug #7999

closed
JP JP

XSS via 'hostname' parameter in diag_dns.php

Bug #7999: XSS via 'hostname' parameter in diag_dns.php

Added by Jim Pingle almost 9 years ago. Updated almost 9 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")//

JP Updated by Jim Pingle almost 9 years ago Actions #1

  • Private changed from No to Yes

JP Updated by Jim Pingle almost 9 years ago Actions #2

  • Description updated (diff)

JP Updated by Jim Pingle almost 9 years ago Actions #3

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:43746e1b4ef6fec0e9c915495aa3926a6b97e7a3.

JP Updated by Jim Pingle almost 9 years ago Actions #4

  • Status changed from Feedback to Resolved

works fine now

JP Updated by Jim Pingle almost 9 years ago Actions #5

  • Private changed from Yes to No
Actions

Also available in: Atom