Lucene search
K

ModSecurity 3.0.0 - Cross-Site Scripting

🗓️ 03 Jul 2018 00:00:00Reported by Exploit-DBType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 63 Views

ModSecurity 3.0.0 - Cross-Site Scripting, XSS via IMG element onError attribut

Related
Code
ReporterTitlePublishedViews
Family
0day.today
ModSecurity 3.0.0 - Cross-Site Scripting Vulnerability
3 Jul 201800:00
zdt
CNVD
ModSecurity Cross-Site Scripting Vulnerability
13 Jul 201800:00
cnvd
CVE
CVE-2018-13065
3 Jul 201811:00
cve
Cvelist
CVE-2018-13065
3 Jul 201811:00
cvelist
NVD
CVE-2018-13065
3 Jul 201812:29
nvd
OSV
CVE-2018-13065
3 Jul 201812:29
osv
OSV
UBUNTU-CVE-2018-13065
3 Jul 201812:29
osv
Packet Storm
ModSecurity 3.0.0 Cross Site Scripting
3 Jul 201800:00
packetstorm
Prion
Code injection
3 Jul 201812:29
prion
Positive Technologies
PT-2018-11565 · Owasp · Modsecurity
3 Jul 201800:00
ptsecurity
Rows per page
# 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)>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation