CVE-2025-23938
Published: 22 January 2025
Summary
CVE-2025-23938 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 18.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
The vulnerability CVE-2025-23938 is a PHP Local File Inclusion issue stemming from improper control of filenames in include or require statements, classified under CWE-98. It affects the Image Gallery Box plugin by CRUDLab for WordPress, impacting all versions through 1.0.3.
An attacker with low-privileged network access can exploit the flaw, though the attack requires high complexity. Successful exploitation grants the ability to include arbitrary local files, resulting in high impacts to confidentiality, integrity, and availability on the affected site.
The primary advisory reference is a Patchstack database entry that catalogs the Local File Inclusion vulnerability in the plugin and provides associated remediation guidance for WordPress site operators. The EPSS score remains low, with a current value of 0.0156 and a peak of 0.0196.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-3552
Vulnerability details
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in CRUDLab Image Gallery Box by CRUDLab image-gallery-box-by-crudlab allows PHP Local File Inclusion.This issue affects Image Gallery Box by CRUDLab: from n/a through <= 1.0.3.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The LFI vulnerability in a public-facing WordPress plugin directly enables exploitation of public-facing applications (T1190) for initial access and unauthorized access to local system files for data collection (T1005), with high impacts on C/I/A via file inclusion.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
SI-10 mandates validation and sanitization of user-supplied filenames in PHP include/require statements to prevent local file inclusion attacks.
SI-2 requires timely identification, reporting, and correction of the specific flaw in the Image Gallery Box plugin enabling improper filename control.
AC-3 enforces access control policies to restrict low-privileged users from accessing or executing arbitrary local files via inclusion.