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

Improper Neutralization of Special Elements used in a Command ('Command Injection')
CVE CVE-2022-4060
CVSS Critical (9.8)
Publicly Published December 26, 2022
Last Updated January 22, 2024
Researcher 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.

References

1 affected software package

Software Type Plugin
Software Slug wp-upg (view on wordpress.org)
Patched? No
Affected Version
  • 2.19 - 2.19
Patched Version
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.