User Post Gallery - UPG <= 2.19 - Missing Authorization to Remote Command Execution

9.8
Improper Neutralization of Special Elements used in a Command ('Command Injection')
CVE CVE-2022-4060
CVSS 9.8 (Critical)
Publicly Published December 26, 2022
Last Updated January 22, 2024
Researchers cydave
Chris Gardner

Description

The User Post Gallery - UPG plugin for WordPress is vulnerable to authorization bypass which leads to remote command execution due to the use of a nopriv AJAX action and user supplied function calls and parameters in versions up to, and including 2.19. This makes it possible for unauthenticated attackers to call arbitrary PHP functions and perform actions like adding new files that can be webshells and updating the site's options to allow anyone to register as an administrator.

Wordfence blocked 7,314 attacks targeting this vulnerability in the past 24 hours.

References

Share

Vulnerability Details for User Post Gallery – UPG

Software Type Plugin
Software Slug wp-upg (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • 2.19

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation