SecurityContext

CVE-2022-4063: WordPress InPost Gallery - File Inclusion

  • Cve: CVE-2022-4063
  • Name: WordPress InPost Gallery - File Inclusion
  • 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.
  • Impact: Attackers can execute remote code on the server by forcing inclusion of malicious files, leading to full server compromise.
  • Remediation: Update to version 2.1.4.1 or later.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.10177
  • Epss percentile: 0.95782
  • Assignee: [email protected]
  • Published at: 2022-12-19T14:15:12Z
  • Age in days: 1436
  • Modified at: 2026-06-17T05:19:52Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4063
  • Nvd status: modified
  • Checked, none or zero: public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2023-11-13—no

Nuclei templates

IdUrl
CVE-2022-4063https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-4063.yaml

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://wpscan.com/vulnerability/6bb07ec1-f1aa-4f4b-9717-c92f651a90a7nvd2022-12-19
https://github.com/im-hanzou/INPGerpoc-in-github2023-09-11
https://github.com/im-hanzou/INPGer.gitvulncheck-xdb2023-09-11

References

UrlSourceTags
https://wpscan.com/vulnerability/6bb07ec1-f1aa-4f4b-9717-c92f651a90a7nvdExploit, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-4063.yamlnuclei_templateNuclei Template
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2022-4063vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
pluginus:inpost_gallery< 2.1.4.1nonvd/v1/products/pluginus/inpost_gallery

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2023-11-13
  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2022-12-19
  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
  • Not known: known exploited since, initial access since, exposed hosts

Nuclei template