WF-19f737a8-21e6-49d3-95b9-24fb6e5d7af7-inpost-gallery

InPost Gallery < 2.1.2.1 - Local File Inclusion

criticalImproper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
9.8
CVSS Score
9.8
CVSS Score
critical
Severity
2.1.2.1
Patched in
2651d
Time to patch

Description

The InPost Gallery Plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 2.1.2 via the popup_shortcode_key parameter. This allows unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability

Technical Details

Affected versions<2.1.2.1
PublishedOctober 20, 2016
Last updatedJanuary 22, 2024
Affected plugininpost-gallery

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.