Project

General

Profile

Actions

Bug #5881

closed

CVE-2014-3491 - XSS from create/update/destroy notification boxes

Added by Dominic Cleal almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Security
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

possible XSS: Configure -> Host groups - key name with HTML evaluated when submitted

How reproducible:
always

Steps to Reproduce:
1. In webUI go to Configure -> Host groups -> New Host groups
2. Fill in this:
Name: test<script>alert('HI')</script>

Click "Submit" to create the hostgroup
3. Note that parameter name is correctly escaped in the parameters list

Actual results:
Once the hostgroup is SUBMITED, JavaScript alert window appears (script gets executed)

Expected results:
Submit button should not execute javascript


Files


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #6351: <br /> seen in UI errors when multiple errors exist on a resourceDuplicate06/24/2014Actions
Related to Foreman - Bug #6402: Using "run puppet" feature fails: undefined method `gsub' for #<Array ...>ClosedDominic Cleal06/26/2014Actions
Related to Foreman - Bug #6903: "<br/>" in text when receiving error while deleting multiple hostsClosed08/04/2014Actions
Actions

Also available in: Atom PDF