The InPost Gallery WordPress plugin prior to version 2.1.4.1 insecurely uses PHP's extract() function when rendering HTML views. This allows attackers to manipulate variable extraction from user input, potentially forcing the inclusion of malicious files or URLs. As a result, attackers may be able to execute arbitrary code on the affected server.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides multiple scripts (in Python and Bash) to exploit CVE-2022-4063, a critical unauthenticated Local File Inclusion (LFI) to Remote Code Execution (RCE) vulnerability in the InPost Gallery WordPress plugin (versions < 2.1.4.1). The main exploit scripts are: - inpger.sh: A mass vulnerability checker that uses GNU Parallel to test multiple targets for the LFI/RCE vulnerability. It encodes a payload to read /etc/passwd and checks for the 'root:x:0' string in the response to determine vulnerability, logging results to vuln.txt and notvuln.txt. - single-exploiter.py and single-exploiter-beta.py: Python scripts that craft a complex PHP filter chain payload, base64-encode it, and send it to the vulnerable endpoint. These scripts can escalate from LFI to RCE by injecting a backdoor that allows arbitrary command execution via GET parameters. - single-exploiter-beta.sh: An interactive Bash script that allows the user to select between a standard LFI payload or a custom one, sending the payload to the vulnerable endpoint and decoding the response. The repository also includes sample output files (vuln.txt, notvuln.txt) and a README with usage instructions. The primary attack vector is network-based, targeting the /wp-admin/admin-ajax.php endpoint of WordPress sites running the vulnerable plugin. The exploit is operational, providing both detection and exploitation capabilities, including the ability to execute arbitrary commands on compromised systems.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.