ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20823) Remove user input from invalid renderer error message
Date Tue, 25 Apr 2017 19:37:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-20823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doroszlai, Attila updated AMBARI-20823:
---------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to [trunk|http://git-wip-us.apache.org/repos/asf/ambari/commit/ec51e166] and [branch-2.5|http://git-wip-us.apache.org/repos/asf/ambari/commit/3c844cad].

> Remove user input from invalid renderer error message
> -----------------------------------------------------
>
>                 Key: AMBARI-20823
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20823
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.5.0
>            Reporter: Robert Levas
>            Assignee: Attila Magyar
>            Priority: Critical
>             Fix For: 2.5.1
>
>         Attachments: AMBARI-20823.patch
>
>
> Remove user input from invalid renderer error message to avoid potential XSS attacks.

> The user input data returned in the exception thrown at
> {code:title=org/apache/ambari/server/api/resources/BaseResourceDefinition.java:135}
>       throw new IllegalArgumentException("Invalid renderer name: " + name +
>           " for resource of type: " + m_type);
> {code}
> should be removed and the error message changed to:
> {noformat}
> Invalid renderer name for resource of type <resource type>.m
> {noformat}
> or simply
> {noformat}
> Invalid renderer name.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message