CVE-2022-4063 InPost Gallery < 2.1.4.1 - Unauthenticated LFI to RCE
Unauthenticated attackers can exploit insecure extract() usage to include malicious files, leading to remote code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-4063?
CVE-2022-4063 is a critical path traversal vulnerability in Unknown InPost Gallery, published on 19 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The InPost Gallery WordPress plugin before 2.1.4.1 insecurely uses PHP's extract() function when rendering HTML views, allowing attackers to force the inclusion of malicious files & URLs, which may enable them to run code on servers.
Weakness: CWE-22
Which versions are affected by CVE-2022-4063?
It affects 1 product.
Products include Pluginus Inpost Gallery.
How do I fix CVE-2022-4063?
No fix has been published for CVE-2022-4063 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-4063 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4063 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Other vulnerabilities in Unknown InPost Gallery
Sources
Also known as GHSA-5rmh-7p7v-fmfc.