Project

General

Profile

Actions

Bug #13262

closed

File browser on ``diag_edit.php`` does not encode filenames before display

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Diagnostics
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

The file browser on diag_edit.php does not encode filenames before display.

A user who can create files with arbitrary names can break rendering of the page though exploit potential is minimized by the fact that `/` is not valid in filenames so tags cannot be closed.

A file with the following name can trigger a JS alert: <img src=src onerror=alert(1)>, for example.

Actions

Also available in: Atom PDF