Remote code execution in Allow PHP in Posts and Pages plugin for WordPress



Published: 2023-09-19
Risk Medium
Patch available NO
Number of vulnerabilities 1
CVE-ID CVE-2023-4994
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Allow PHP in Posts and Pages
Web applications / Modules and components for CMS

Vendor Hit Reach

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Code Injection

EUVDB-ID: #VU80892

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2023-4994

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in the "php" shortcode. A remote user can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

Allow PHP in Posts and Pages: 3.0.4

CPE2.3 External links

http://plugins.trac.wordpress.org/browser/allow-php-in-posts-and-pages/trunk/allowphp.php#L373
http://www.wordfence.com/threat-intel/vulnerabilities/id/3d8b4bb6-3715-40c1-8140-7fcf874ccec3?source=cve


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###