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

Mark Struberg updated DELTASPIKE-1389:
--------------------------------------
    Security: public  (was: non-public)

> Sanitizing of dswid imperfect (XSS, security)
> ---------------------------------------------
>
>                 Key: DELTASPIKE-1389
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1389
>             Project: DeltaSpike
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: JSF-Module
>    Affects Versions: 1.9.1
>            Reporter: Matthias Walliczek
>            Assignee: Mark Struberg
>            Priority: Major
>              Labels: security
>             Fix For: 1.9.2
>
>
> Despide that it was improving inĀ 
> https://issues.apache.org/jira/browse/DELTASPIKE-1307, the sanitizing of the 
> dswid parameter is still imperfect.
> PoC: request a page with "xzy.jsf?dswid=',danger,'" will render "danger" as 
> variable into the javascript code.
> Solution: Instead of filtering "(", "<" and "&" as a black list attempt which 
> is not recommended by the OWASP, only numeric characters and "-" should be 
> allowed as white list approach.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to