iThemes Security – a javascript pop up when accessing the logs tab from link
-
I just logged into one of my sites to look at the iThemes Security – security logs and when I clicked on the logs tab, I received a javascript alert box with “/openvas-xss-test/”. 1st freaked out something was wrong, I looked at the source code to see what caused it and here is the line, for the “<td class=’data column-data’>”.
<tr><td class=’function column-function’>404 Error</td><td class=’priority column-priority’>3</td><td class=’time column-time’>2016-03-25 13:56:25</td><td class=’host column-host’>107.6.137.66</td><td class=’user column-user’></td><td class=’url column-url’>/w-cms/</td><td class=’referrer column-referrer’></td><td class=’data column-data’><div class=”itsec-all-log-dialog” id=”itsec-log-all-row-19″ style=”display:none;”>
- <h3>query_string = p=<script>alert(/openvas-xss-test/)</script></h3>
</div>Details</td></tr>
From the access log file here is the link that was logged.
107.6.137.66 – – [25/Mar/2016:08:56:25 -0500] “GET /w-cms/?p=<script>alert(/openvas-xss-test/)</script> HTTP/1.0” 404 42759 “-” “Mozilla/5.0 [en] (X11, U; OpenVAS 7.0.5)”Should this be happening, or should this be escaped or split up phrases like “<script>alert(/openvas-xss-test/)</script>” to prevent it from occurring to users just viewing their logs?
- The topic ‘iThemes Security – a javascript pop up when accessing the logs tab from link’ is closed to new replies.