.. / CVE-2021-24499

Exploit for WordPress Workreap - Remote Code Execution (CVE-2021-24499)

Description:

WordPress Workreap theme is susceptible to remote code execution. The 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.

Nuclei Template

View the template here CVE-2021-24499.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-24499.yaml
Copy

References:

https://github.com/RyouYoo/CVE-2021-24499
https://wpscan.com/vulnerability/74611d5f-afba-42ae-bc19-777cdf2808cb
https://nvd.nist.gov/vuln/detail/CVE-2021-24499
https://jetpack.com/2021/07/07/multiple-vulnerabilities-in-workreap-theme/
http://packetstormsecurity.com/files/172876/WordPress-Workreap-2.2.2-Shell-Upload.html