Bug 19034: XSS Flaws in Z39.50/SRU servers administration
1. Hit /cgi-bin/koha/admin/z3950servers.pl
2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search Z39.50/SRU servers box.
3. Notice the iframe is executed.
4. Apply patch.
5. Reload page, and enter iframe again on search Z39.50/SRU servers box.
6. Notice it is no longer executed.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
8a14d52338
commit
cfd67c694e
|
|
@ -225,7 +225,7 @@
|
|||
[% IF id %]
|
||||
You searched for record [% id %]
|
||||
[% ELSIF searchfield %]
|
||||
You searched for [% searchfield %]
|
||||
You searched for [% searchfield |html %]
|
||||
[% END %]
|
||||
<table id="serverst">
|
||||
<thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Preselected</th><th>Rank</th><th>Syntax</th><th>Encoding</th><th>Timeout</th><th>Record type</th><th></th>
|
||||
|
|
|
|||
Loading…
Reference in New Issue