Project

General

Profile

Bug #6737

diag_dns.php: DNS results printed without encoding, leading to an XSS

Added by Jim Pingle about 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Web Interface
Target version:
Start date:
08/22/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
All
Affected Architecture:
All

Description

There is a potential XSS in diag_dns.php from a lack of encoding on the DNS replies.

If a query is entered for xss.uparo.com, a script alert is shown.

Associated revisions

Revision d2466ce6 (diff)
Added by Jim Pingle about 3 years ago

Add output encoding to diag_dns.php for results returned from DNS. Fixes #6737

Revision 9cbc340f (diff)
Added by Jim Pingle about 3 years ago

Add output encoding to diag_dns.php for results returned from DNS. Fixes #6737

Revision a92de66e (diff)
Added by Jim Pingle about 3 years ago

Add output encoding to diag_dns.php for results returned from DNS. Fixes #6737

History

#1 Updated by Jim Pingle about 3 years ago

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

#2 Updated by Jim Pingle about 3 years ago

  • Status changed from Feedback to Resolved

#3 Updated by Jim Pingle over 2 years ago

  • Private changed from Yes to No

Also available in: Atom PDF