Twenty Year Anniversary

ModSecurity 3.0.0 Cross Site Scripting

ModSecurity 3.0.0 Cross Site Scripting
Posted Jul 3, 2018
Authored by Adipta Basu

ModSecurity version 3.0.0 suffers from a cross site scripting vulnerability.

tags | exploit, xss
advisories | CVE-2018-13065
MD5 | 81b262867ce165967872ed711dea1794

ModSecurity 3.0.0 Cross Site Scripting

Change Mirror Download
# Exploit Title: ModSecurity 3.0.0 - Cross-Site Scripting
# Date: 2018-07-02
# Vendor Homepage: https://www.modsecurity.org
# Software: ModSecurity
# Category: Web Application Firewall
# Exploit Author: Adipta Basu
# Tested on: Mac OS High Sierra
# CVE: N/A
# Description: ModSecurity 3.0.0 has XSS via an onError attribute of an IMG element

# Details:
# After doing source code analysis, I found that if <img src=x onError=prompt(111)>
# is passed as a parameter, a pop-up is obtained. This is because the filter flags
# terms like "script","alert",etc. Moreover it also flags if there is a string placed
# inside the first bracket. That is why I had to use 111. However document.cookie when
# passed works fine.

Reproduction Steps:

- Use <img src=x onError=prompt(3)> or <img src=x onError=prompt(document.cookie)>

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    10 Files
  • 2
    Nov 2nd
    15 Files
  • 3
    Nov 3rd
    2 Files
  • 4
    Nov 4th
    2 Files
  • 5
    Nov 5th
    32 Files
  • 6
    Nov 6th
    27 Files
  • 7
    Nov 7th
    8 Files
  • 8
    Nov 8th
    9 Files
  • 9
    Nov 9th
    17 Files
  • 10
    Nov 10th
    2 Files
  • 11
    Nov 11th
    2 Files
  • 12
    Nov 12th
    33 Files
  • 13
    Nov 13th
    29 Files
  • 14
    Nov 14th
    23 Files
  • 15
    Nov 15th
    45 Files
  • 16
    Nov 16th
    11 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close