This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Classic-UI: fixes a XXS vulnerability in pagination and export links …
…#10453 Sorry guys. Due to my bad programming skills I introduced a XSS vulnerability in Classic-UI with the CSV export link and pagination feature. The functions parsed QUERY_STRING from the environment without properly sanitizing it. The getcgivars() function got a bit reworked. Once the QUERY_STRING is read and parsed the content survives the whole lifetime of the cgi execution and gets free’d at the end. This way we can always build urls from valid parsed cgi params. I wonder why I haven't done this earlier. Also the url param parsing in every cgi was updated and hopefully everything works as bevor. Refs: #10453
- Loading branch information
1 parent
fb5e3c8
commit 5c816f5
Showing
17 changed files
with
1,482 additions
and
1,840 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.