Project

General

Profile

Actions

Bug #15264

closed

``crash_reporter.php`` displays PHP Error log without encoding

Added by Jim Pingle 9 months ago. Updated 7 months ago.

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

100%

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

Description

The section of crash_reporter.php that displays the PHP error log is printing that log directly without encoding the output. If a malicious user can influence the content of the PHP log, such as via the printing of function arguments (See #15263), there is a potential for XSS to occur.

To me, I have a tested and working patch.

Actions #1

Updated by Jim Pingle 9 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Jim Pingle 8 months ago

  • Status changed from Feedback to Resolved

HTML tags in the PHP log are no longer interpreted, the contents are displayed exactly as they are in the file.

Actions #3

Updated by Jim Pingle 7 months ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF