Project

General

Profile

Bug #7227

pkg.php - "pkg_filter" is not encoded before output

Added by Jim Pingle about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Very High
Assignee:
Category:
Package System
Target version:
Start date:
02/07/2017
Due date:
% Done:

100%

Estimated time:
Affected Version:
All
Affected Architecture:
All

Description

On pkg.php "pkg_filter" is not encoded before output - It requires a package use pkg.php and that it has include_filtering_inputbox along with a field type that enables sorting. This can be used as a potential XSS vector.

Currently the only package using this combination is FreeRADIUS ( freeradius.xml and freeradiusauthorizedmacs.xml ) but it's a general issue in pkg.php

Affects 2.4 and 2.3.x

Associated revisions

Revision 6ac61204 (diff)
Added by Jim Pingle about 2 years ago

Encode the contents of pkg_filter before output. Fixes #7227

Revision 7100f041 (diff)
Added by Jim Pingle about 2 years ago

Encode the contents of pkg_filter before output. Fixes #7227

Revision ed7bfaa4 (diff)
Added by Jim Pingle about 2 years ago

Encode the contents of pkg_filter before output. Fixes #7227

History

#1 Updated by Jim Pingle about 2 years ago

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

#2 Updated by Jim Pingle about 2 years ago

  • Status changed from Feedback to Resolved

Fixed

#3 Updated by Jim Pingle about 2 years ago

  • Target version changed from 2.4.0 to 2.3.3

#4 Updated by Jim Pingle almost 2 years ago

  • Private changed from Yes to No

Also available in: Atom PDF