WordPress Plugin Vulnerabilities

Zyrex Popup < 1.1 - Admin+ Arbitrary File Upload

Description

The plugin does not validate the type of files uploaded when creating a popup, allowing a high privileged user (such as an Administrator) to upload arbitrary files, even when modifying the file system is disallowed, such as in a multisite install.

Proof of Concept

Create a new popup by filling in anything in the title (Tytul) and link (Link) fields. 
Then select a php file as the image, and click "Dodaj popup" to add the popup.

The uploaded file can be accessed as http://example.com/wp-content/uploads/zyrex_popup/payload.php

By activating the popup (click the "Aktywuj" button), the payload will be loaded and executed whenever the popup is to be shown on the site.

Affects Plugins

Fixed in 1.1

References

Miscellaneous

Original Researcher
Yogesh Verma
Submitter
Yogesh Verma
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-04-04 (about 1 years ago)
Added
2023-04-04 (about 1 years ago)
Last Updated
2023-04-20 (about 1 years ago)

Other