CVE-2022-4063

InPost Gallery < 2.1.4.1 - Unauthenticated LFI to RCE

Critical · published December 19, 2022

CVSS v3.1
9.8
EPSS
10%
Percentile
95.7
In the wild
Unconfirmed
What it is

🔥 Watch out, WordPress users! An insecure use of PHP's extract() function in the InPost Gallery plugin before version 2.1.4.1 could let attackers slip in malicious files and URLs like a surprise ingredient in a dish. 🍽️ Think of it as a restaurant chef who blindly follows a recipe, not checking whether the ingredients are safe — just one wrong addition could poison the whole meal! If exploited, an attacker could gain full control over the server, allowing them to run any code they want! This could lead to data breaches, site defacement, or even deploying malware to unsuspecting users. The consequences are absolutely devastating!

Put simply

Think of it as a restaurant chef who blindly follows a recipe, not checking whether the ingredients are safe — just one wrong addition could poison the whole meal! This vulnerability arises because the InPost Gallery plugin uses PHP's extract() function insecurely, enabling attackers to inject malicious files or URLs into HTML views, thus executing arbitrary code on the server.

What to do

If exploited, an attacker could gain full control over the server, allowing them to run any code they want! This could lead to data breaches, site defacement, or even deploying malware to unsuspecting users. The consequences are absolutely devastating! Update the InPost Gallery plugin to version 2.1.4.1 or later immediately to close this vulnerability. Additionally, audit your site for any suspicious activity and ensure proper validation on all user inputs. Don't leave any stone unturned! You've got this! By taking action now, you'll keep your site safe and secure! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.10177 · 95.7th percentile
Published
2022-12-19T13:41Z
EPSS history
Timeline
  • 19 DEC 13:41Z
    InPost Gallery < 2.1.4.1 - Unauthenticated LFI to RCE
    cvelistv5