add CVE-2021-24499 in the security-testbeds environment#123
Open
hh-hunter wants to merge 3 commits intogoogle:mainfrom
Open
add CVE-2021-24499 in the security-testbeds environment#123hh-hunter wants to merge 3 commits intogoogle:mainfrom
hh-hunter wants to merge 3 commits intogoogle:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WordPress Theme Workreap 2.2.2 - Unauthenticated Upload Leading to Remote Code Execution (CVE-2021-24499)
The Workreap WordPress theme version prior to 2.2.2 is plagued by a lack of nonce checks and user validation, enabling unauthenticated users to upload arbitrary files with malicious executable code.
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.
Docker-compose
You can deploy the vulnerable version of WordPress Plugin DZS Zoomsounds by running in docker-compose:
It takes several minutes to wait for the service to be accessed normally, and the exposed web service port is [8080].