Project

General

Profile

Bug #14221

we can inject html & javascript in Rudder tables

Added by Nicolas CHARLES 10 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

following https://issues.rudder.io/issues/13349 , we can inject, from syslog, js that is evaluated server side on the node compliance/technical log and rules details

exemple: change the component name with

_method_reporting_context("un 'file' 'content' <script>alert('bob');</script>", "/tmp/file_content");

results in a bob showing up


Subtasks

Bug #14231: html on change request list is not correctly escapedReleasedNicolas CHARLESActions

Related issues

Related to Rudder - Bug #13349: Quotes in reports are displayed as &quot; in the web interfaceReleasedActions
Related to Rudder - Bug #14271: JS in directive name is executed on rule table if the directive is disabledReleasedActions

Associated revisions

Revision 4762a161 (diff)
Added by François ARMAND 10 months ago

Fixes #14221: (un)escape html entities where needed

History

#1

Updated by François ARMAND 10 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
#2

Updated by François ARMAND 10 months ago

  • Related to Bug #13349: Quotes in reports are displayed as &quot; in the web interface added
#3

Updated by François ARMAND 10 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/2122
#4

Updated by Rudder Quality Assistant 10 months ago

  • Assignee changed from Nicolas CHARLES to François ARMAND
#5

Updated by François ARMAND 10 months ago

  • Status changed from Pending technical review to Pending release
#6

Updated by Alexis MOUSSET 10 months ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.19, 4.3.9 and 5.0.5 which were released today.
Changelog
Changelog
Changelog
#7

Updated by François ARMAND 10 months ago

  • Related to Bug #14271: JS in directive name is executed on rule table if the directive is disabled added
#8

Updated by Vincent MEMBRÉ 5 months ago

  • Private changed from Yes to No

Also available in: Atom PDF