Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.9.1
-
Security Level: public (Regular issues)
Description
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.