AR For WordPress
CVE-2024-50496
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
1DescriptionCVE.org
Unrestricted Upload of File with Dangerous Type vulnerability in webandprint AR For WordPress ar-for-wordpress allows Upload a Web Shell to a Web Server.This issue affects AR For WordPress: from n/a through <= 6.6.
AnalysisAI
Unauthenticated arbitrary file upload in the AR For WordPress plugin (versions up to and including 6.6) allows remote attackers to upload web shells and achieve full site compromise. With a maximum CVSS score of 10.0 and CWE-434 (Unrestricted Upload of File with Dangerous Type), the flaw is critical, though no public exploit identified at time of analysis and EPSS sits at 1.31% (80th percentile) indicating moderate predicted exploitation activity. Reported via Patchstack, the issue affects all known versions of the plugin from webandprint.
Technical ContextAI
AR For WordPress (ar-for-wordpress) is a third-party WordPress plugin from vendor webandprint that adds augmented reality capabilities to WordPress sites. The CPE string cpe:2.3:a:webandprint:ar:*:*:*:*:*:wordpress:*:* confirms the affected component is the plugin itself running within the WordPress application stack. CWE-434 (Unrestricted Upload of File with Dangerous Type) indicates the plugin's file upload handler fails to validate uploaded file extensions, MIME types, or content, permitting executable PHP files to be written to a web-accessible directory where the WordPress PHP runtime will execute them on request.
RemediationAI
No vendor-released patch identified at time of analysis - the description bounds affected versions at <= 6.6 with no fixed version stated, so administrators should monitor Patchstack and the webandprint plugin changelog for a patched release above 6.6 and apply it as soon as one is published. Until a fix is available, the most reliable compensating control is to deactivate and remove the AR For WordPress plugin entirely from production sites, which eliminates the upload endpoint at the cost of losing AR functionality; alternatively, place a WAF rule or .htaccess restriction in front of the plugin's upload directory to block requests to .php (and other executable) files within wp-content/plugins/ar-for-wordpress/, accepting that this is bypass-prone if the plugin writes uploads elsewhere. Restricting access to wp-admin and the plugin's AJAX/REST endpoints by IP allowlist is another stopgap but only helps where administrative access is geographically constrained.
Same technique File Upload
View allShare
External POC / Exploit Code
Leaving vuln.today