WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Outdated php-mod/curl Library - Unauthenticated Reflected Cross-Site Scripting (XSS)

Description

The original submission stated that the HT Slider Range for Amazon affiliates plugin for WordPress had a reflected XSS vulnerability. After investigation (WPScanTeam), the cause was found to be test files from the php-mod/curl library, which was missing appropriate response headers before outputting user input. We contacted the vendor of the library, which issued a fix (v2.3.2) within a few hours. In the meantime, the entire WordPress plugins repository was scanned for the affected files and 4 additional plugins were identified to be affected as well

Proof of Concept

https://<lib-location>/tests/server/php-curl-test/post_file_path_upload.php?key=%3cimg%20src%20onerror%3dalert(%27XSS%27)%3e

curl -X POST -i --data '<script>alert(/XSS/)</script>' https://<lib-location>/tests/server/php-curl-test/post_multidimensional.php 

Affects Plugins

slider-range-htapps
Fixed in version 1.1.6
woo-qiwi-payment-gateway
No known fix - plugin closed
teamleader-form-integration
Fixed in version 2.1.0 - plugin closed
woo-billing-with-invoicexpress
Fixed in version 3.0.3
shopello
No known fix - plugin closed

References

CVE
CVE-2021-30134
URL
https://github.com/php-mod/curl/releases/tag/2.3.2

Classification

Type

XSS

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

Miscellaneous

Original Researcher

Frank Liauw

Submitter

Frank Liauw

Submitter website
https://sg.linkedin.com/in/frankliauw
Submitter twitter
frankvolkel
Verified

Yes

WPVDB ID
0b547728-27d2-402e-ae17-90d539344ec7

Timeline

Publicly Published

2021-04-16 (about 1 years ago)

Added

2021-04-16 (about 1 years ago)

Last Updated

2021-04-19 (about 1 years ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us