diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-09-12 10:04:43 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-09-12 10:20:03 +0200 |
commit | 209b0b6edad0c18a2ea14eac83c6c4787264aa63 (patch) | |
tree | d849a9e09d18d5e5cc20e3374857b51acaefb05c /INSTALL | |
parent | ee9a8f232b960c5bfad7376f129710d19871edcc (diff) | |
download | aur-209b0b6edad0c18a2ea14eac83c6c4787264aa63.tar.gz aur-209b0b6edad0c18a2ea14eac83c6c4787264aa63.tar.xz |
Mitigate JSONP callback vulnerabilities
The callback parameter of the RPC interface currently allows for
specifying a prefix of arbitrary length of the returned result. This can
be exploited by certain attacks.
As a countermeasure, this patch restricts the allowed character set for
the callback name to letters, digits, underscores, parenthesis and dots.
It also limits the length of the name to 128 characters. Furthermore,
the reflected callback name is now always prepended with "/**/", which
is a common workaround to protect against attacks such as Rosetta Flash.
Fixes FS#46259.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions